From c6b4b5b6bd2eeb5e007616d0bde719236f4c1566 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Fri, 12 Jul 2019 09:53:10 +0200 Subject: [PATCH] notifications: don't try passive authentication on count API (#34780) --- combo/apps/notifications/api_views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/combo/apps/notifications/api_views.py b/combo/apps/notifications/api_views.py index 47d5b361..3cf2b92c 100644 --- a/combo/apps/notifications/api_views.py +++ b/combo/apps/notifications/api_views.py @@ -98,3 +98,4 @@ class Count(GenericAPIView): return Response({'err': 0, 'total': total, 'new': new}) count = Count.as_view() +count.mellon_no_passive = True