fix: backend get users output type

This commit is contained in:
Timothy J. Baek 2023-11-21 09:39:53 -08:00
parent c7b1fd1cd1
commit ebddb8e47d

View file

@ -73,7 +73,7 @@ class UsersTable:
else:
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 [
UserModel(**user)
for user in list(