diff --git a/web/src/app/submit/page.tsx b/web/src/app/submit/page.tsx index 9125add..8e72ba4 100644 --- a/web/src/app/submit/page.tsx +++ b/web/src/app/submit/page.tsx @@ -15,7 +15,7 @@ interface SubmissionPayload { GameID: number; AssetID: number; AssetVersion: number; - SubmissionType: number; + TargetAssetID: number; } interface IdResponse { ID: number; @@ -37,7 +37,7 @@ export default function SubmissionInfoPage() { GameID: 1073741824, // TODO: Change this!! AssetID: Number((formData.get("asset-id") as string) ?? "0"), AssetVersion: 0, - SubmissionType: isFixingMap ? 2 : 1, + TargetAssetID: isFixingMap ? Number((formData.get("target-asset-id") as string) ?? "0") : 0, }; console.log(payload) @@ -84,7 +84,7 @@ export default function SubmissionInfoPage() { }, }} onChange={(e) => setIsFixingMap(e.target.checked)} />} label="Fixing an Existing Map?" /> - {/* */} +