From ebddb8e47dd01b101d95b41845d715c9ad33f109 Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Tue, 21 Nov 2023 09:39:53 -0800 Subject: [PATCH] fix: backend get users output type --- backend/apps/web/models/users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/apps/web/models/users.py b/backend/apps/web/models/users.py index 5f101f65..4dc3fc7a 100644 --- a/backend/apps/web/models/users.py +++ b/backend/apps/web/models/users.py @@ -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(