Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Parse appeal object before assigning it to data
  • Loading branch information
regalijan committed Oct 19, 2023
1 parent 056c6b8 commit cb5aea2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/api/appeals/[id]/_middleware.ts
Expand Up @@ -31,7 +31,7 @@ export async function onRequestPost(context: RequestContext) {
status: 404,
});

context.data.appeal = key;
context.data.appeal = JSON.parse(key);
}

if (
Expand Down

0 comments on commit cb5aea2

Please sign in to comment.