Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitvinnakota-codecov committed Jan 22, 2025
1 parent 9ebf19b commit a351940
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions api/gen_ai/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ class GenAIAuthView(APIView):
serializer_class = GenAIAuthSerializer

def validate_signature(self, request):
key = get_config(
"gen_ai", "auth_secret"
)
key = get_config("gen_ai", "auth_secret")
if not key:
raise PermissionDenied("Invalid signature")

Check warning on line 25 in api/gen_ai/views.py

View check run for this annotation

Codecov Notifications / codecov/patch

api/gen_ai/views.py#L25

Added line #L25 was not covered by tests

Expand Down

0 comments on commit a351940

Please sign in to comment.