From d98c573e49fc74f648bc51e446a742a17400e1f5 Mon Sep 17 00:00:00 2001 From: devxb Date: Mon, 13 May 2024 08:45:47 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20UserService=EC=9D=98=20addPersona=20?= =?UTF-8?q?=EB=A9=94=EC=86=8C=EB=93=9C=EA=B0=80=20id=20=EC=99=80=20level?= =?UTF-8?q?=EC=9D=84=20=ED=95=A8=EA=BB=98=20=EC=A0=84=EB=8B=AC=ED=95=98?= =?UTF-8?q?=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95=ED=95=9C=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/kotlin/org/gitanimals/render/domain/UserService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/org/gitanimals/render/domain/UserService.kt b/src/main/kotlin/org/gitanimals/render/domain/UserService.kt index fff2428..6e4b7fa 100644 --- a/src/main/kotlin/org/gitanimals/render/domain/UserService.kt +++ b/src/main/kotlin/org/gitanimals/render/domain/UserService.kt @@ -85,7 +85,7 @@ class UserService( val user = getUserByName(name) - return user.addPersona(PersonaType.valueOf(personaType.uppercase())) + return user.addPersona(id, PersonaType.valueOf(personaType.uppercase()), level) } private fun requireIdempotency(idempotencyKey: String) {