From bff17263840c6c11691eec9f1ddea0e208048cb5 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sat, 31 Aug 2024 15:27:18 +0200 Subject: [PATCH] api.schedule.ProposalC3VOCPublishingWebhook: abort with 403 instead of 406 --- apps/api/schedule.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/schedule.py b/apps/api/schedule.py index e99faaeb0..e0943e904 100644 --- a/apps/api/schedule.py +++ b/apps/api/schedule.py @@ -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)