Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d3c9aca

Browse filesBrowse files
Fix Fastapi security dependency
1 parent 0010d0b commit d3c9aca
Copy full SHA for d3c9aca

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Collapse file

‎src/alchemyql/fastapi/router.py‎

Copy file name to clipboardExpand all lines: src/alchemyql/fastapi/router.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def create_alchemyql_router_sync(
3434
def auth_helper():
3535
if auth_dependency:
3636
return Security(auth_dependency)
37-
return None
37+
return Security(lambda: True)
3838

3939
@router.get(
4040
path,
@@ -81,7 +81,7 @@ def create_alchemyql_router_async(
8181
def auth_helper():
8282
if auth_dependency:
8383
return Security(auth_dependency)
84-
return None
84+
return Security(lambda: True)
8585

8686
@router.get(
8787
path,

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.