Skip to content

Commit a65fb67

Browse files
committed
fix
1 parent 34a3695 commit a65fb67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/web/server/src/simcore_service_webserver/workspaces/_workspaces_db.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,11 +161,11 @@ async def list_workspaces_for_user(
161161
total_count = count_result.scalar()
162162

163163
result = await conn.stream(list_query)
164-
workspaces: list[UserWorkspaceAccessRightsDB] = [
164+
items: list[UserWorkspaceAccessRightsDB] = [
165165
UserWorkspaceAccessRightsDB.from_orm(row) async for row in result
166166
]
167167

168-
return cast(int, total_count), workspaces
168+
return cast(int, total_count), items
169169

170170

171171
async def get_workspace_for_user(

0 commit comments

Comments
 (0)