Skip to content
Snippets Groups Projects
Commit 80840307dd82 authored by Arnaud Vergnet's avatar Arnaud Vergnet :sun_with_face:
Browse files

chore: fix back

parent 3046939c7fe8
Branches branch/default
No related tags found
1 merge request!67feat: add logout route
Pipeline #223061 passed with warnings
......@@ -72,9 +72,9 @@
paths_dict: Optional[Dict[str, Dict]] = spec_dict["paths"]
for path_str, path_item in paths_dict.items():
# Update the pyramid route name
path_item[
OPENAPI_PYRAMID_KEY
] = f"{API_ROUTE_NAME_PREFIX}{path_item[OPENAPI_PYRAMID_KEY]}"
path_item[OPENAPI_PYRAMID_KEY] = (
f"{API_ROUTE_NAME_PREFIX}{path_item[OPENAPI_PYRAMID_KEY]}"
)
if not enable_login:
del paths_dict["/login"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment