Skip to content

Commit

Permalink
fix reject reason
Browse files Browse the repository at this point in the history
  • Loading branch information
trim21 committed Aug 19, 2024
1 parent d4f95e8 commit 8822daf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/review.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,13 @@ async def __reject_patch(
wiki_user_id = $2,
updated_at = $3,
reject_reason = $4
where id = $4 and deleted_at is NULL
where id = $5 and deleted_at is NULL
""",
PatchState.Rejected,
auth.user_id,
datetime.now(tz=UTC),
patch.id,
reason,
patch.id,
)
return Redirect("/")

Expand Down

0 comments on commit 8822daf

Please sign in to comment.