Parse appeal object before assigning it to data

This commit is contained in:
regalijan 2023-10-19 16:50:41 -04:00
parent 056c6b84f3
commit cb5aea2832
Signed by: regalijan
GPG Key ID: 5D4196DA269EF520

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 (