Commit ebddb8e4 authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

fix: backend get users output type

parent c7b1fd1c
...@@ -73,7 +73,7 @@ class UsersTable: ...@@ -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(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment