forked from open-webui/open-webui
fix: backend get users output type
This commit is contained in:
parent
c7b1fd1cd1
commit
ebddb8e47d
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||||
|
|
Loading…
Reference in a new issue