Remove a now unneeded calculation

This commit is contained in:
tgpethan 2020-07-09 00:36:13 +01:00
parent fcf31e8f03
commit ee896da2aa

1
EUS.js
View file

@ -280,7 +280,6 @@ function handleAPI(req, res) {
jsonaa["space"]["usage"]["mb"] = sizeOfFolder;
sizeOfFolder = (size / 1024 / 1024 / 1024);
jsonaa["space"]["usage"]["gb"] = sizeOfFolder;
sizeOfFolder = (size / 1024 / 1024 / 1024).toFixed(2);
jsonaa["space"]["usage"]["string"] = spaceToLowest(size, true);
// Send the json to the requesting client
d = new Date(); endTime = d.getTime();