Skip to content

Commit

Permalink
Fix precommit issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sudan45 committed Dec 11, 2024
1 parent e6f177d commit e84c3b5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions main/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,10 @@
from django.urls import path
from django.views.decorators.csrf import csrf_exempt

from content.views import UserQuery
from main.graphql.schema import CustomAsyncGraphQLView
from main.graphql.schema import schema as graphql_schema

from content.views import UserQuery

urlpatterns = [path("admin/", admin.site.urls), path("chat_message", UserQuery.as_view())]
if settings.DEBUG:
urlpatterns.append(path("graphiql/", csrf_exempt(CustomAsyncGraphQLView.as_view(schema=graphql_schema))))
Expand Down

0 comments on commit e84c3b5

Please sign in to comment.