diff --git a/RIGS/views/rigboard.py b/RIGS/views/rigboard.py index b35da179..dfc0fe58 100644 --- a/RIGS/views/rigboard.py +++ b/RIGS/views/rigboard.py @@ -395,7 +395,7 @@ class CreateForumThread(generic.base.RedirectView): params = { 'title': str(event), - 'body': f'https://rigs.nottinghamtec.co.uk/event/{event.pk}' + 'body': f'https://rigs.nottinghamtec.co.uk/event/{event.pk}', 'category': 'rig-info' } return f'https://forum.nottinghamtec.co.uk/new-topic?{urllib.parse.urlencode(params)}' @@ -403,8 +403,8 @@ class CreateForumThread(generic.base.RedirectView): class RecieveForumWebhook(generic.View): @method_decorator(csrf_exempt) - def dispatch(self, request, *args, **kwargs): - return super().dispatch(request, *args, **kwargs) + def dispatch(self, request, *args, **kwargs): + return super().dispatch(request, *args, **kwargs) def post(self, request, *args, **kwargs): if request.POST.get('secret') == env('FORUM_WEBHOOK_SECRET'):