diff --git a/api_app/_version.py b/api_app/_version.py index 493f7415d7..260c070a89 100644 --- a/api_app/_version.py +++ b/api_app/_version.py @@ -1 +1 @@ -__version__ = "0.3.0" +__version__ = "0.3.1" diff --git a/api_app/api/routes/api.py b/api_app/api/routes/api.py index a7e5cae8d2..de4a683701 100644 --- a/api_app/api/routes/api.py +++ b/api_app/api/routes/api.py @@ -95,7 +95,7 @@ async def swagger_ui_redirect(): def get_scope(workspace) -> str: # Cope with the fact that scope id can have api:// at the front. - return f"api://{workspace['properties']['scope_id'].lstrip('api://')}/user_impersonation" + return f"api://{workspace.properties['scope_id'].lstrip('api://')}/user_impersonation" @workspace_swagger_router.get("/workspaces/{workspace_id}/openapi.json", include_in_schema=False, name="openapi_definitions")