aboutsummaryrefslogtreecommitdiff
path: root/src/api/routes/admin
diff options
context:
space:
mode:
authorZephyrrus <[email protected]>2021-01-06 23:31:10 +0200
committerZephyrrus <[email protected]>2021-01-07 10:47:16 +0200
commite0801f0c195baf677247193c274426b2483eafb1 (patch)
tree591ef59ae19a274562701562184667281466dce3 /src/api/routes/admin
parentchore: Move statistics related functions to it's own file (diff)
downloadhost.fuwn.me-e0801f0c195baf677247193c274426b2483eafb1.tar.xz
host.fuwn.me-e0801f0c195baf677247193c274426b2483eafb1.zip
fix: use PassThrough from FileType to get the real mimetype of a file while it's being saved to the disk
Diffstat (limited to 'src/api/routes/admin')
-rw-r--r--src/api/routes/admin/statsGET.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/api/routes/admin/statsGET.js b/src/api/routes/admin/statsGET.js
index 8e53529..388d4fa 100644
--- a/src/api/routes/admin/statsGET.js
+++ b/src/api/routes/admin/statsGET.js
@@ -1,6 +1,4 @@
const Route = require('../../structures/Route');
-const Util = require('../../utils/Util');
-
const StatsGenerator = require('../../utils/StatsGenerator');
// Thank you Bobby for the stats code https://github.com/BobbyWibowo/lolisafe/blob/safe.fiery.me/controllers/utilsController.js