We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d960f1 commit bf2d016Copy full SHA for bf2d016
readthedocs/restapi/views/integrations.py
@@ -8,6 +8,7 @@
8
9
from django.shortcuts import get_object_or_404
10
from rest_framework import permissions, status
11
+from rest_framework.authentication import BasicAuthentication
12
from rest_framework.exceptions import NotFound, ParseError
13
from rest_framework.renderers import JSONRenderer
14
from rest_framework.response import Response
@@ -367,6 +368,7 @@ class APIWebhookView(WebhookMixin, APIView):
367
368
369
integration_type = Integration.API_WEBHOOK
370
permission_classes = [IsAuthenticatedOrHasToken]
371
+ authentication_classes = [BasicAuthentication]
372
373
def get_project(self, **kwargs):
374
"""
0 commit comments