Skip to content

Commit

Permalink
chore: (#281) confilct 실수 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
khcho0125 committed Jan 13, 2023
1 parent 26292d3 commit f27ffd6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class SignInUseCase(
) {

fun execute(request: UserSignInData): TokenResponse {
val user = queryUserPort.queryUserByEmployeeNumber(request.employeeNumber)
val employee = queryUserPort.queryUserByEmployeeNumber(request.employeeNumber)
?.apply { checkAuthority(Authority.ROLE_COMMON) }
?: throw UserExceptions.NotFound()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class SignUpUseCase(
)
}

private fun create(request: SignUpRequest): User {
private fun create(request: SignUpData): User {
checkAlreadyExists(request.email, request.employeeNumber, request.nickname)

val employeeCertificate = queryEmployeeCertificatePort.queryEmployeeCertificateByNameAndEmployeeNumber(
Expand Down

0 comments on commit f27ffd6

Please sign in to comment.