aboutsummaryrefslogtreecommitdiffstats
path: root/lib/upload.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/upload.js')
-rw-r--r--lib/upload.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/upload.js b/lib/upload.js
index 5f5aebed..2f8180a0 100644
--- a/lib/upload.js
+++ b/lib/upload.js
@@ -12,6 +12,7 @@ export default async (req, res) => {
params: { type },
user
} = req;
+ console.log("TYPE", type)
if (!["banner", "profile"].includes(type)) throw new Error("invalid upload");
let data = await req.file();