Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,8 @@ async def replace_project(request: web.Request):
web.HTTPNotFound: This project was not found
"""

raise ValueError("Not supported anymore")

db: ProjectDBAPI = ProjectDBAPI.get_from_app_context(request.app)
req_ctx = RequestContext.parse_obj(request)
path_params = parse_request_path_parameters_as(ProjectPathParams, request)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ async def _replace_project(
assert client.app

# PUT /v0/projects/{project_id}
url = client.app.router["replace_project"].url_for(
url = client.app.router["replace_project"].url_for( # <- this doesn't work anymore
project_id=project_update["uuid"]
)
assert str(url) == f"{API_PREFIX}/projects/{project_update['uuid']}"
Expand Down