From 0cb2bec6e0b3d93afe7a8b6a719e96ef55709f84 Mon Sep 17 00:00:00 2001
From: Quaternions <krakow20@gmail.com>
Date: Thu, 3 Apr 2025 19:24:43 -0700
Subject: [PATCH] web: fix mapfix submit

---
 web/src/app/maps/[mapId]/fix/page.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/web/src/app/maps/[mapId]/fix/page.tsx b/web/src/app/maps/[mapId]/fix/page.tsx
index 7408e43..e6c58f0 100644
--- a/web/src/app/maps/[mapId]/fix/page.tsx
+++ b/web/src/app/maps/[mapId]/fix/page.tsx
@@ -13,7 +13,7 @@ interface MapfixPayload {
 	TargetAssetID: number;
 }
 interface IdResponse {
-	ID: number;
+	OperationID: number;
 }
 
 export default function MapfixInfoPage() {
@@ -53,7 +53,7 @@ export default function MapfixInfoPage() {
 			const id_response:IdResponse = await response.json();
 
 			// navigate to newly created mapfix
-			window.location.assign(`/mapfixes/${id_response.ID}`)
+			window.location.assign(`/operations/${id_response.OperationID}`)
 
 		} catch (error) {
 			console.error("Error submitting data:", error);