Bug fixes
Based on the first day of dogfooding for myself
This commit is contained in:
@@ -14,6 +14,7 @@ class UsersController:
|
||||
self._pdb: pdb.Database = pdb.Database(session)
|
||||
self.table: aiodynamo.client.Table = self._pdb.client.table(os.getenv('USERS_TABLE'))
|
||||
|
||||
|
||||
@staticmethod
|
||||
def _user_to_obj(user: int | User) -> User:
|
||||
if isinstance(user, int):
|
||||
|
||||
Reference in New Issue
Block a user