Skip to content

Commit

Permalink
fix: Set job.approval to false
Browse files Browse the repository at this point in the history
  • Loading branch information
johnjcsmith committed Dec 11, 2024
1 parent 0611bfa commit f8f0e3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions control-plane/src/modules/jobs/jobs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -387,9 +387,9 @@ export async function submitApproval({
await data.db
.update(data.jobs)
.set({
approved: true,
approved: false,
status: "success",
result_type: "resolution",
result_type: "rejection",
result: packer.pack({
message: "This call was denied by the user.",
}),
Expand Down

0 comments on commit f8f0e3b

Please sign in to comment.