From 7f1bad08da3318685563cff50e91a1697cc66c4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B4=9B=E6=B0=B4=E5=B1=85=E5=AE=A4?= Date: Thu, 1 Dec 2022 18:40:02 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20wrong=20call=20of=20`UserS?= =?UTF-8?q?ervice.add=5Fuser`=20method?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/user/services.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/user/services.py b/core/user/services.py index cf7eabd..1b00b28 100644 --- a/core/user/services.py +++ b/core/user/services.py @@ -20,4 +20,4 @@ class UserService: return await self._repository.update_user(user) async def add_user(self, user: User) -> User: - return await self._repository.update_user(user) + return await self._repository.add_user(user)