Don't double-stringify save data

This commit is contained in:
2024-09-05 00:49:03 -04:00
parent ecdd7c4988
commit 31e9935efe
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ export async function onRequestGet(context: RequestContext) {
if (isNaN(id)) return jsonError("ID must be a number", 400);
try {
return jsonResponse(JSON.stringify(await getSaveData(context, id)));
return jsonResponse(await getSaveData(context, id));
} catch {
return jsonError("Request to Roblox failed", 500);
}