We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15c7436 commit 7011b63Copy full SHA for 7011b63
1 file changed
api/main.py
@@ -200,7 +200,6 @@ async def catch_all(
200
"""
201
Catch-all route to proxy requests to the OSM service.
202
203
- authorizedWorkspace = None
204
205
if request.headers.get("X-Workspace") is not None:
206
try:
@@ -216,8 +215,6 @@ async def catch_all(
216
215
status_code=status.HTTP_403_FORBIDDEN,
217
detail="You do not have access to this workspace",
218
)
219
-
220
- authorizedWorkspace = workspace_id
221
else:
222
if not any(p.fullmatch(request.url.path) for p in AUTH_WHITELIST_PATTERNS):
223
raise HTTPException(
0 commit comments