diff options
| author | Adam Soltys <[email protected]> | 2023-01-27 09:30:52 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-01-27 09:30:52 -0800 |
| commit | 1ff3877220343972ba8e7008b7338b41cc4c876d (patch) | |
| tree | 536c125fe89f92b93ba512f396c4b21cb8f22064 /src/lib/upload.js | |
| parent | d1216faac02e7c02c2f5783ba60c4b35775e5001 (diff) | |
| download | coinos-ui-1ff3877220343972ba8e7008b7338b41cc4c876d.tar.gz coinos-ui-1ff3877220343972ba8e7008b7338b41cc4c876d.zip | |
image previews
Diffstat (limited to 'src/lib/upload.js')
| -rw-r--r-- | src/lib/upload.js | 1 |
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); |
