diff options
| -rw-r--r-- | frontend/src/api/Maps.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/api/Maps.tsx b/frontend/src/api/Maps.tsx index e57fc45..80f88d4 100644 --- a/frontend/src/api/Maps.tsx +++ b/frontend/src/api/Maps.tsx | |||
| @@ -85,7 +85,7 @@ export const post_record = async (token: string, run: UploadRunContent): Promise | |||
| 85 | "Authorization": token, | 85 | "Authorization": token, |
| 86 | } | 86 | } |
| 87 | }); | 87 | }); |
| 88 | return response.data.message; | 88 | return [ response.data.success, response.data.message ]; |
| 89 | } else { | 89 | } else { |
| 90 | const response = await axios.postForm(url(`maps/${run.map_id}/record`), { | 90 | const response = await axios.postForm(url(`maps/${run.map_id}/record`), { |
| 91 | "host_demo": run.host_demo, | 91 | "host_demo": run.host_demo, |