Skip to content

Commit

Permalink
fix: sonar security appointment on csrf_exempt usage
Browse files Browse the repository at this point in the history
  • Loading branch information
MatheusGeiger committed Feb 24, 2022
1 parent 78217c3 commit 03c7cb1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions django_stomp_debug_callback/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

from django.http import HttpRequest
from django.http import JsonResponse
from django.views.decorators.csrf import csrf_exempt
from django.views.decorators.http import require_http_methods
from django_stomp.services.consumer import Payload

Expand All @@ -16,7 +15,6 @@


@require_http_methods(["POST"])
@csrf_exempt
def debug_callback_view(request: HttpRequest) -> JsonResponse:
"""
View wrapper to call pubsub logic
Expand Down

0 comments on commit 03c7cb1

Please sign in to comment.