mirror of
https://github.com/PaiGramTeam/MibooGram.git
synced 2024-11-16 12:51:45 +00:00
🐛 Fix wrong call of UserService.add_user
method
This commit is contained in:
parent
7a2efd16dd
commit
7f1bad08da
@ -20,4 +20,4 @@ class UserService:
|
|||||||
return await self._repository.update_user(user)
|
return await self._repository.update_user(user)
|
||||||
|
|
||||||
async def add_user(self, user: User) -> User:
|
async def add_user(self, user: User) -> User:
|
||||||
return await self._repository.update_user(user)
|
return await self._repository.add_user(user)
|
||||||
|
Loading…
Reference in New Issue
Block a user