mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 11:57:51 +01:00
fix: backend get users output type
This commit is contained in:
@@ -73,7 +73,7 @@ class UsersTable:
|
|||||||
else:
|
else:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def get_users(self, skip: int = 0, limit: int = 50) -> Optional[UserModel]:
|
def get_users(self, skip: int = 0, limit: int = 50) -> List[UserModel]:
|
||||||
return [
|
return [
|
||||||
UserModel(**user)
|
UserModel(**user)
|
||||||
for user in list(
|
for user in list(
|
||||||
|
|||||||
Reference in New Issue
Block a user