Skip to content

Commit 73f5851

Browse files
authored
Merge pull request #2 from catalinsymphony/CAIP-46
Fix list_all_user_streams_admin returning StreamAttributes
2 parents 2d4dbad + 4ba042c commit 73f5851

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

symphony/bdk/core/service/stream/stream_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ async def list_all_user_streams_admin(self, uid: int, stream_filter: StreamFilte
379379
"""
380380
async def list_streams_one_page(skip, limit):
381381
result = await self.list_user_streams_admin(uid, stream_filter, skip, limit)
382-
return result.streams.value if result.streams else None
382+
return result.value if result else None
383383

384384
return offset_based_pagination(list_streams_one_page, chunk_size, max_number)
385385

0 commit comments

Comments
 (0)