Skip to content
Snippets Groups Projects
Commit 2769e616 authored by Benjamin Ledel's avatar Benjamin Ledel
Browse files

Update 2 files

- /src/consents/urls.py
- /src/consents/views.py
parent 246edbad
No related branches found
No related tags found
No related merge requests found
Pipeline #1275820 passed
Pipeline: FIRST_START

#1275837

    ......@@ -8,7 +8,7 @@ urlpatterns = [
    path('provider/create', views.CreateProviderConsentView.as_view()),
    path('user/save', views.SaveUserConsentView.as_view()),
    path('user/create', views.CreateUserConsentView.as_view()),
    path('user/create-via-shibboleth', views.CreateUserConsentViaShibbolethView.as_view()),
    path('user/create-via-connect-service', views.CreateUserConsentViaConnectServiceView.as_view()),
    path('user/status', views.GetUserConsentStatusView.as_view()),
    path('user/analytics-tokens', views.GetUserConsentAnalyticsTokens.as_view()),
    path('user/analytics-tokens/consent', views.SaveUserConsentAnalyticsTokens.as_view()),
    ......
    ......@@ -370,7 +370,7 @@ class CreateUserConsentView(APIView):
    status=status.HTTP_200_OK,
    )
    class CreateUserConsentViaShibbolethView(APIView):
    class CreateUserConsentViaConnectServiceView(APIView):
    def post(self, request):
    application_token = request.headers.get("Authorization", "").split("Basic ")[-1]
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment