Remove a now unneeded calculation
This commit is contained in:
parent
fcf31e8f03
commit
ee896da2aa
1 changed files with 0 additions and 1 deletions
1
EUS.js
1
EUS.js
|
@ -280,7 +280,6 @@ function handleAPI(req, res) {
|
||||||
jsonaa["space"]["usage"]["mb"] = sizeOfFolder;
|
jsonaa["space"]["usage"]["mb"] = sizeOfFolder;
|
||||||
sizeOfFolder = (size / 1024 / 1024 / 1024);
|
sizeOfFolder = (size / 1024 / 1024 / 1024);
|
||||||
jsonaa["space"]["usage"]["gb"] = sizeOfFolder;
|
jsonaa["space"]["usage"]["gb"] = sizeOfFolder;
|
||||||
sizeOfFolder = (size / 1024 / 1024 / 1024).toFixed(2);
|
|
||||||
jsonaa["space"]["usage"]["string"] = spaceToLowest(size, true);
|
jsonaa["space"]["usage"]["string"] = spaceToLowest(size, true);
|
||||||
// Send the json to the requesting client
|
// Send the json to the requesting client
|
||||||
d = new Date(); endTime = d.getTime();
|
d = new Date(); endTime = d.getTime();
|
||||||
|
|
Loading…
Reference in a new issue