Parse appeal object before assigning it to data

This commit is contained in:
2023-10-19 16:50:41 -04:00
parent 056c6b84f3
commit cb5aea2832

View File

@ -31,7 +31,7 @@ export async function onRequestPost(context: RequestContext) {
status: 404,
});
context.data.appeal = key;
context.data.appeal = JSON.parse(key);
}
if (