From 2d4406d7ba892cbb15780ff91810427d26a80f8b Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sat, 31 Aug 2024 15:06:23 +0200 Subject: [PATCH] api.schedule: rename ProposalC3VOCPublishingWebhook --- apps/api/schedule.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/api/schedule.py b/apps/api/schedule.py index 99a260d43..e99faaeb0 100644 --- a/apps/api/schedule.py +++ b/apps/api/schedule.py @@ -170,7 +170,7 @@ def post(self, proposal_type): return [t.id for t in res] -class C3VOCPublishingWebhook(Resource): +class ProposalC3VOCPublishingWebhook(Resource): method_decorators = {"post": [_require_video_api_key]} def post(self): @@ -237,4 +237,4 @@ def get(self): api.add_resource(FavouriteExternal, "/external//favourite") api.add_resource(ScheduleMessage, "/schedule_messages") api.add_resource(UpdateLotteryPreferences, "/schedule/tickets//preferences") -api.add_resource(C3VOCPublishingWebhook, "/c3voc/publishing-webhook") +api.add_resource(ProposalC3VOCPublishingWebhook, "/proposal/c3voc-publishing-webhook")