File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
services/web/server/src/simcore_service_webserver/trash Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -107,12 +107,11 @@ async def safe_empty_trash(
107107 await _empty_explicitly_trashed_folders_and_content (app , product_name , user_id )
108108
109109
110- async def safe_delete_expired_trash_as_admin (app : web .Application ) -> list :
110+ async def safe_delete_expired_trash_as_admin (app : web .Application ) -> None :
111111 settings = get_plugin_settings (app )
112112 retention = timedelta (days = settings .TRASH_RETENTION_DAYS )
113113 delete_until = arrow .now ().datetime - retention
114114
115- deleted = [] # TODO: delete count of all items? ids? delete-stats?
116115 for product in products_service .list_products (app ):
117116
118117 ctx = {
@@ -164,5 +163,3 @@ async def safe_delete_expired_trash_as_admin(app: web.Application) -> list:
164163 error_context = ctx ,
165164 )
166165 )
167-
168- return deleted
You can’t perform that action at this time.
0 commit comments