From 1c51ea2e373dcdd458d8cdc1d3b2225c316f346d Mon Sep 17 00:00:00 2001 From: Wolfboy248 <105884620+Wolfboy248@users.noreply.github.com> Date: Sun, 20 Oct 2024 16:51:43 +0200 Subject: refactor: touch ups --- frontend/src/api/Maps.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frontend/src/api') diff --git a/frontend/src/api/Maps.tsx b/frontend/src/api/Maps.tsx index 8295cf2..b6a6bad 100644 --- a/frontend/src/api/Maps.tsx +++ b/frontend/src/api/Maps.tsx @@ -75,7 +75,7 @@ export const delete_map_discussion = async (token: string, map_id: string, discu return response.data.success; }; -export const post_record = async (token: string, run: UploadRunContent): Promise<[string]> => { +export const post_record = async (token: string, run: UploadRunContent): Promise => { if (run.partner_demo && run.partner_id) { const response = await axios.postForm(url(`maps/${run.map_id}/record`), { "host_demo": run.host_demo, -- cgit v1.2.3