aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/api
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2021-06-08 00:30:40 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:57 +0300
commit25bddaf76b21535de2ea3f24816a3c09ea37bd78 (patch)
treeae2996098b2a3dbd70e961a066bead92e8ae588d /vnext/src/api
parent2aacd8aec317b6ff7c173fb381d482a0be09a437 (diff)
Fix tests
Diffstat (limited to 'vnext/src/api')
-rw-r--r--vnext/src/api/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnext/src/api/index.js b/vnext/src/api/index.js
index 2392bfd0..8f452b82 100644
--- a/vnext/src/api/index.js
+++ b/vnext/src/api/index.js
@@ -220,6 +220,6 @@ export function fetchUserUri(dataUri) {
return new Promise((resolve, reject) => {
let form = new FormData();
form.append('uri', dataUri);
- client.post('/u/', form).then(response => resolve(response));
+ client.post('/u/', form).then(response => resolve(response)).catch(reject);
});
}