diff options
author | Andinus <andinus@nand.sh> | 2022-02-04 11:56:54 +0530 |
---|---|---|
committer | Andinus <andinus@nand.sh> | 2022-02-04 11:56:54 +0530 |
commit | 3f8a1326dffb01512a1b19a141360180bf6b7fd8 (patch) | |
tree | 753b225d500b7dcf92b3141267e982cd790a847d /client/src/views/CreateSmiles.vue | |
parent | 1e1e1a0728b2ec8cf42dc943606de13cb33a507c (diff) | |
download | vela-3f8a1326dffb01512a1b19a141360180bf6b7fd8.tar.gz |
Implement upload functionality
The authentication part on the server is not implemented properly.
Diffstat (limited to 'client/src/views/CreateSmiles.vue')
-rw-r--r-- | client/src/views/CreateSmiles.vue | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/views/CreateSmiles.vue b/client/src/views/CreateSmiles.vue index 7c285f0..88da1f4 100644 --- a/client/src/views/CreateSmiles.vue +++ b/client/src/views/CreateSmiles.vue @@ -112,7 +112,8 @@ export default { body: JSON.stringify(data) }).then(response => { if (!response.ok) - throw new Error('HTTP error, status = ' + response.status); + throw new Error('HTTP error, status = ' + response.status + + ' | ' + response.statusText); return response.json(); }).then(res => { this.id = res.id; |