diff options
| author | Adam Soltys <[email protected]> | 2022-10-21 21:18:10 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-10-21 21:18:10 -0700 |
| commit | a67f9cbc9f609aa56e445fe8f422ba3be14e9345 (patch) | |
| tree | f584c51fadf79169278e51ba9a888b980ac4ac29 /src/lib | |
| parent | a005ef51ee46618a1875dee4559ccddfec41dfcd (diff) | |
| download | coinos-ui-a67f9cbc9f609aa56e445fe8f422ba3be14e9345.tar.gz coinos-ui-a67f9cbc9f609aa56e445fe8f422ba3be14e9345.zip | |
pin code input
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/upload.js | 1 | ||||
| -rw-r--r-- | src/lib/utils.js | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/upload.js b/src/lib/upload.js index 0e8a2908..099e2f30 100644 --- a/src/lib/upload.js +++ b/src/lib/upload.js @@ -1,5 +1,4 @@ export const upload = async (file, type, progress, token) => { - console.log('FILE', file); let url = `/api/upload/${type}`; let formData = new FormData(); formData.append('file', file); diff --git a/src/lib/utils.js b/src/lib/utils.js index 7cb09c61..d8a7b60c 100644 --- a/src/lib/utils.js +++ b/src/lib/utils.js @@ -36,7 +36,6 @@ export const post = (url, body, headers) => { return fetch(base + url, { method: 'POST', body: JSON.stringify(body), headers }) .then((r) => r.text()) .then((body) => { - console.log('BODY', body); try { body = JSON.parse(body); } catch (e) { |
