This commit is contained in:
Scott Anderson
2025-05-13 03:41:59 -04:00
parent 781ddb5911
commit a38d3d986f
23 changed files with 39 additions and 42 deletions
+1 -1
View File
@@ -126,7 +126,7 @@ export async function readGameRecord(
Key: `${gameFolder}/${gameId}`, // Fixed - needed to include gameFolder
});
// Parse the response body
if (typeof response.Body === "undefined") return null;
if (response.Body === undefined) return null;
const bodyContents = await response.Body.transformToString();
return JSON.parse(bodyContents) as GameRecord;
} catch (error) {