diff --git a/functions/api/game-bans/[user]/save-data.ts b/functions/api/game-bans/[user]/save-data.ts index 07af89a..789031a 100644 --- a/functions/api/game-bans/[user]/save-data.ts +++ b/functions/api/game-bans/[user]/save-data.ts @@ -2,7 +2,7 @@ import { jsonError, jsonResponse } from "../../../common.js"; import { getSaveData } from "../../../roblox-open-cloud.js"; export async function onRequestGet(context: RequestContext) { - const id = parseInt(context.params.id as string); + const id = parseInt(context.params.user as string); if (isNaN(id)) return jsonError("ID must be a number", 400);