mirror of
https://github.com/koloideal/DutyLog.git
synced 2026-06-10 10:25:29 +03:00
update
This commit is contained in:
@@ -50,3 +50,6 @@ class UsersRepository:
|
||||
|
||||
async def get_all_users(self) -> list[User]:
|
||||
return await self.users_dao.get_all()
|
||||
|
||||
async def update_user(self, user_id: int, **kwargs) -> User | None:
|
||||
return await self.users_dao.update(user_id, **kwargs)
|
||||
|
||||
Reference in New Issue
Block a user