Parse appeal object before assigning it to data
This commit is contained in:
@ -31,7 +31,7 @@ export async function onRequestPost(context: RequestContext) {
|
||||
status: 404,
|
||||
});
|
||||
|
||||
context.data.appeal = key;
|
||||
context.data.appeal = JSON.parse(key);
|
||||
}
|
||||
|
||||
if (
|
||||
|
Reference in New Issue
Block a user