aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/upload.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-01-27 09:30:52 -0800
committerAdam Soltys <[email protected]>2023-01-27 09:30:52 -0800
commit1ff3877220343972ba8e7008b7338b41cc4c876d (patch)
tree536c125fe89f92b93ba512f396c4b21cb8f22064 /src/lib/upload.js
parentd1216faac02e7c02c2f5783ba60c4b35775e5001 (diff)
downloadcoinos-ui-1ff3877220343972ba8e7008b7338b41cc4c876d.tar.gz
coinos-ui-1ff3877220343972ba8e7008b7338b41cc4c876d.zip
image previews
Diffstat (limited to 'src/lib/upload.js')
-rw-r--r--src/lib/upload.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/upload.js b/src/lib/upload.js
index 099e2f30..899dbb0c 100644
--- a/src/lib/upload.js
+++ b/src/lib/upload.js
@@ -1,4 +1,5 @@
export const upload = async (file, type, progress, token) => {
+ console.log("TYPE", type)
let url = `/api/upload/${type}`;
let formData = new FormData();
formData.append('file', file);