Skip to content

Commit

Permalink
Fix leftover from transition from asgi to wsgi
Browse files Browse the repository at this point in the history
  • Loading branch information
8R0WNI3 committed Apr 26, 2024
1 parent 427b88a commit 7735149
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion middleware/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ def process_resource(self, req: falcon.asgi.Request, resp, resource, params):
# auto-generated documentation routes, they are missing the "no-auth" decorator
if isinstance(
resource,
(spectree.plugins.falcon_plugin.DocPageAsgi, spectree.plugins.falcon_plugin.OpenAPIAsgi),
(spectree.plugins.falcon_plugin.DocPage, spectree.plugins.falcon_plugin.OpenAPI),
):
return

Expand Down

0 comments on commit 7735149

Please sign in to comment.