oops
This commit is contained in:
parent
40707d1791
commit
b8b5cf3f21
@ -69,7 +69,7 @@ export async function onRequestPost(context: RequestContext) {
|
||||
const applicableDepartments = JSON.parse(requestedNotice.departments).length;
|
||||
|
||||
await context.env.D1.prepare(
|
||||
"UPDATE inactivity_notices SET decisions = ?, user = json_remove(user, '*.email') WHERE id = ?;",
|
||||
"UPDATE inactivity_notices SET decisions = ?, user = json_remove(user, '$.email') WHERE id = ?;",
|
||||
)
|
||||
.bind(JSON.stringify(decisions), context.params.id)
|
||||
.run();
|
||||
|
Loading…
x
Reference in New Issue
Block a user