aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTyler Schicke <tyler_schicke@brown.edu>2019-05-23 01:27:59 -0400
committerTyler Schicke <tyler_schicke@brown.edu>2019-05-23 01:27:59 -0400
commitb286d5a80b0c4cf56aa8ab1e6940bf711402ed59 (patch)
tree24ade73cca8afdd4b318d1bc32bba5faa53c4c86 /src
parent517816327526520b99e439345b48549ebc79db6b (diff)
More image upload changes
Diffstat (limited to 'src')
-rw-r--r--src/mobile/ImageUpload.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mobile/ImageUpload.tsx b/src/mobile/ImageUpload.tsx
index bfc1738fc..6ca3a6f23 100644
--- a/src/mobile/ImageUpload.tsx
+++ b/src/mobile/ImageUpload.tsx
@@ -50,6 +50,8 @@ class Uploader extends React.Component {
body: formData
});
this.status = "upload image, getting json";
+ this.status = await res.text();
+ return;
const json = await res.json();
json.map(async (file: any) => {
let path = window.location.origin + file;