Skip to content

Commit

Permalink
api.schedule.ProposalC3VOCPublishingWebhook: abort with 403 instead o…
Browse files Browse the repository at this point in the history
…f 406
  • Loading branch information
Kunsi committed Aug 31, 2024
1 parent 2d4406d commit bff1726
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/api/schedule.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def post(self):
# c3voc *should* only send us information about the master
# encoding getting published. Aborting early ensures we don't
# accidentially delete video information from the database.
abort(406)
abort(403)

if conference != f"emf{event_year()}":
abort(422)
Expand Down

0 comments on commit bff1726

Please sign in to comment.