diff --git a/backend/open_webui/routers/channels.py b/backend/open_webui/routers/channels.py index 3add5023e..e3cdc46a1 100644 --- a/backend/open_webui/routers/channels.py +++ b/backend/open_webui/routers/channels.py @@ -540,9 +540,7 @@ async def get_channel_members_by_id( return { "users": [ - UserModelResponse( - **user.model_dump(), is_active=Users.is_active(user) - ) + UserModelResponse(**user.model_dump(), is_active=Users.is_active(user)) for user in users ], "total": total, @@ -575,9 +573,7 @@ async def get_channel_members_by_id( return { "users": [ - UserModelResponse( - **user.model_dump(), is_active=Users.is_active(user) - ) + UserModelResponse(**user.model_dump(), is_active=Users.is_active(user)) for user in users ], "total": total,