Parse those too
This commit is contained in:
parent
0349c3afdd
commit
5e6d8ac487
@ -50,6 +50,8 @@ export async function onRequestGet(context: RequestContext) {
|
||||
|
||||
if (!result) return jsonError("Inactivity notice does not exist", 404);
|
||||
|
||||
result.decisions = JSON.parse(result.decisions as string);
|
||||
result.departments = JSON.parse(result.departments as string);
|
||||
result.user = JSON.parse(result.user as string);
|
||||
|
||||
return jsonResponse(JSON.stringify(result));
|
||||
|
Loading…
x
Reference in New Issue
Block a user