diff --git a/controllers/utils/StatsManager.js b/controllers/utils/StatsManager.js index d6cabe7..440e558 100644 --- a/controllers/utils/StatsManager.js +++ b/controllers/utils/StatsManager.js @@ -198,7 +198,7 @@ self.getUploadsStats = async db => { } if (upload.expirydate !== null) { - stats.Temporary++ + stats.Temporary.value++ } stats['Size in DB'].value += parseInt(upload.size)