Skip to content

Commit

Permalink
fix: UserService의 addPersona 메소드가 id 와 level을 함께 전달하도록 수정한다
Browse files Browse the repository at this point in the history
  • Loading branch information
devxb committed May 12, 2024
1 parent a0185d4 commit d98c573
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit d98c573

Please sign in to comment.