From c619cda228b116b3c7be43e2654f7297896f9199 Mon Sep 17 00:00:00 2001
From: Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>
Date: Tue, 22 Oct 2024 00:56:51 +0300
Subject: frontend: try smth

---
 frontend/src/api/Maps.tsx | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

(limited to 'frontend/src/api/Maps.tsx')

diff --git a/frontend/src/api/Maps.tsx b/frontend/src/api/Maps.tsx
index b6a6bad..2209788 100644
--- a/frontend/src/api/Maps.tsx
+++ b/frontend/src/api/Maps.tsx
@@ -76,11 +76,10 @@ export const delete_map_discussion = async (token: string, map_id: string, discu
 };
 
 export const post_record = async (token: string, run: UploadRunContent): Promise<string> => {
-  if (run.partner_demo && run.partner_id) {
+  if (run.partner_demo) {
     const response = await axios.postForm(url(`maps/${run.map_id}/record`), {
       "host_demo": run.host_demo,
       "partner_demo": run.partner_demo,
-      "partner_id": run.partner_id,
     }, {
       headers: {
         "Authorization": token,
-- 
cgit v1.2.3

