web: submit GameID

This commit is contained in:
Quaternions 2024-12-27 18:50:36 -08:00
parent 94abe3137b
commit c95d10a0d4

View File

@ -34,7 +34,7 @@ export default function SubmissionInfoPage() {
const payload: SubmissionPayload = { const payload: SubmissionPayload = {
DisplayName: (formData.get("display-name") as string) ?? "unknown", // TEMPORARY! TODO: Change DisplayName: (formData.get("display-name") as string) ?? "unknown", // TEMPORARY! TODO: Change
Creator: (formData.get("creator") as string) ?? "unknown", // TEMPORARY! TODO: Change Creator: (formData.get("creator") as string) ?? "unknown", // TEMPORARY! TODO: Change
GameID: 1073741824, // TODO: Change this!! GameID: game,
AssetID: Number((formData.get("asset-id") as string) ?? "0"), AssetID: Number((formData.get("asset-id") as string) ?? "0"),
AssetVersion: 0, AssetVersion: 0,
TargetAssetID: isFixingMap ? Number((formData.get("target-asset-id") as string) ?? "0") : 0, TargetAssetID: isFixingMap ? Number((formData.get("target-asset-id") as string) ?? "0") : 0,