Skip to content

Commit

Permalink
feat: ensure api key passed
Browse files Browse the repository at this point in the history
  • Loading branch information
omargawdat committed Jan 24, 2025
1 parent 625f53a commit f3d1be6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/integrations/drf.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
REST_FRAMEWORK = {
"EXCEPTION_HANDLER": "drf_standardized_errors.handler.exception_handler",
"DEFAULT_AUTHENTICATION_CLASSES": (
"rest_framework_simplejwt.authentication.JWTAuthentication",
"apps.users.other.api_auth.APIKeyAuthentication",
"rest_framework_simplejwt.authentication.JWTAuthentication",
),
"DEFAULT_PERMISSION_CLASSES": ("rest_framework.permissions.IsAuthenticated",),
"DEFAULT_SCHEMA_CLASS": "drf_standardized_errors.openapi.AutoSchema",
Expand Down

0 comments on commit f3d1be6

Please sign in to comment.