Parse departments array
This commit is contained in:
parent
73e68f755a
commit
18673b2b33
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user