diff options
Diffstat (limited to 'lib/upload.js')
| -rw-r--r-- | lib/upload.js | 1 |
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(); |
