From a67f9cbc9f609aa56e445fe8f422ba3be14e9345 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 21 Oct 2022 21:18:10 -0700 Subject: pin code input --- src/lib/upload.js | 1 - src/lib/utils.js | 1 - 2 files changed, 2 deletions(-) (limited to 'src/lib') 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) { -- cgit v1.2.3