Parse those too

This commit is contained in:
Regalijan 2025-01-25 00:58:27 -05:00
parent 0349c3afdd
commit 5e6d8ac487
Signed by: regalijan
GPG Key ID: 5D4196DA269EF520

View File

@ -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));