chore: format
This commit is contained in:
1 parent
5e06b6d3f4
commit
4ad10f0c6e
58 files changed
+1319
-278
No files matched your search
@@ -184,7 +184,8 @@ def get_current_user(
|
||||
|
||||
# Check if the request path matches any allowed endpoint.
|
||||
if not any(
|
||||
request.url.path == allowed or request.url.path.startswith(allowed + "/")
|
||||
request.url.path == allowed
|
||||
or request.url.path.startswith(allowed + "/")
|
||||
for allowed in allowed_paths
|
||||
):
|
||||
raise HTTPException(
|
||||
|
||||
Reference in new issue
Block a user