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