Skip to content

Commit 361613f

Browse files
committed
@sanderegg review: rm defaults
1 parent df5dd8f commit 361613f

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

services/web/server/src/simcore_service_webserver/folders/_trash_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ async def trash_folder(
135135
user_id=user_id,
136136
project_id=project_id,
137137
force_stop_first=force_stop_first,
138-
explicit=False,
138+
explicit=trashed_at is not None,
139139
)
140140

141141

services/web/server/src/simcore_service_webserver/projects/_trash_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ async def trash_project(
6969
user_id: UserID,
7070
project_id: ProjectID,
7171
force_stop_first: bool,
72-
explicit: bool = True,
72+
explicit: bool,
7373
):
7474
"""
7575

services/web/server/src/simcore_service_webserver/projects/_trash_handlers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ async def trash_project(request: web.Request):
9191
user_id=user_id,
9292
project_id=path_params.project_id,
9393
force_stop_first=query_params.force,
94+
explicit=True,
9495
)
9596

9697
return web.json_response(status=status.HTTP_204_NO_CONTENT)

0 commit comments

Comments
 (0)