Parse departments array

This commit is contained in:
Regalijan 2024-08-23 02:46:43 -04:00
parent 73e68f755a
commit 18673b2b33
Signed by: regalijan
GPG Key ID: 5D4196DA269EF520

View File

@ -68,6 +68,7 @@ export async function onRequestGet(context: RequestContext): Promise<any> {
rows.results.map((r) => { rows.results.map((r) => {
r.decisions = JSON.parse(r.decisions); r.decisions = JSON.parse(r.decisions);
r.departments = JSON.parse(r.departments);
r.user = JSON.parse(r.user); r.user = JSON.parse(r.user);
delete r.user.email; delete r.user.email;