aboutsummaryrefslogtreecommitdiff
path: root/vnext/src/api
diff options
context:
space:
mode:
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);
});
}