Fix late-night bug in UserNotificationsDisableView

This commit is contained in:
Raphael Michel
2020-11-10 15:08:47 +01:00
parent 6c29fc0117
commit 23c38a3742

View File

@@ -581,7 +581,7 @@ class UserNotificationsDisableView(TemplateView):
@scopes_disabled()
def dispatch(self, request, *args, **kwargs):
return super().dispatch(self, request, *args, **kwargs)
return super().dispatch(request, *args, **kwargs)
def post(self, request, *args, **kwargs):
user = get_object_or_404(User, notifications_token=kwargs.get('token'), pk=kwargs.get('id'))