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);