Skip to content

Commit 10cc6cb

Browse files
modify listing of projects also in the storage service
1 parent 3f99c18 commit 10cc6cb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

services/storage/src/simcore_service_storage/modules/db/access_layer.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,6 @@ async def get_readable_project_ids(
346346
) -> list[ProjectID]:
347347
"""Returns a list of projects where user has granted read-access"""
348348
async with pass_or_acquire_connection(self.db_engine, connection) as conn:
349-
projects_access_rights = (
350-
await _list_user_projects_access_rights_with_read_access(conn, user_id)
349+
return await _list_user_projects_access_rights_with_read_access(
350+
conn, user_id
351351
)
352-
return projects_access_rights

0 commit comments

Comments
 (0)