Skip to content

Commit

Permalink
@sanderegg review: rm defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
pcrespov committed Nov 7, 2024
1 parent df5dd8f commit 361613f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ async def trash_folder(
user_id=user_id,
project_id=project_id,
force_stop_first=force_stop_first,
explicit=False,
explicit=trashed_at is not None,
)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ async def trash_project(
user_id: UserID,
project_id: ProjectID,
force_stop_first: bool,
explicit: bool = True,
explicit: bool,
):
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ async def trash_project(request: web.Request):
user_id=user_id,
project_id=path_params.project_id,
force_stop_first=query_params.force,
explicit=True,
)

return web.json_response(status=status.HTTP_204_NO_CONTENT)
Expand Down

0 comments on commit 361613f

Please sign in to comment.