aboutsummaryrefslogtreecommitdiffstats
path: root/lib/upload.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-02-03 09:58:47 -0800
committerAdam Soltys <[email protected]>2023-02-03 09:58:47 -0800
commit17a2a698de2a522f05d9ec813411b5a01b95234d (patch)
treef23a88b4dbac920cba169e54f6160aa4c1bab07b /lib/upload.js
parent549590ceb8bdd2954d2b96c14d530063104b352f (diff)
downloadcoinos-server-17a2a698de2a522f05d9ec813411b5a01b95234d.tar.gz
coinos-server-17a2a698de2a522f05d9ec813411b5a01b95234d.zip
contacts
Diffstat (limited to 'lib/upload.js')
-rw-r--r--lib/upload.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/upload.js b/lib/upload.js
index 2f8180a0..954e8d4d 100644
--- a/lib/upload.js
+++ b/lib/upload.js
@@ -12,7 +12,7 @@ export default async (req, res) => {
params: { type },
user
} = req;
- console.log("TYPE", type)
+ console.log("TYPE", type);
if (!["banner", "profile"].includes(type)) throw new Error("invalid upload");
let data = await req.file();