forked from open-webui/open-webui
fix: user display limit
This commit is contained in:
parent
9704a5754e
commit
434e2c00e9
2 changed files with 3 additions and 2 deletions
|
@ -92,7 +92,8 @@ class UsersTable:
|
|||
def get_users(self, skip: int = 0, limit: int = 50) -> List[UserModel]:
|
||||
return [
|
||||
UserModel(**model_to_dict(user))
|
||||
for user in User.select().limit(limit).offset(skip)
|
||||
for user in User.select()
|
||||
# .limit(limit).offset(skip)
|
||||
]
|
||||
|
||||
def get_num_users(self) -> Optional[int]:
|
||||
|
|
Loading…
Reference in a new issue