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

@ -19,7 +19,7 @@ export async function getBanList(context: RequestContext) {
return await data.json();
}
export async function getSaveData(context: RequestContext, user: number) {
export async function getSaveData(context: RequestContext, user: number): Promise<string> {
const data = await fetch(`${SAVE_DATA_URL}${user}`, {
headers: {
"x-api-key": context.env.ROBLOX_OPENCLOUD_KEY,