Skip to content

Commit

Permalink
[MERGE/#158] 선배 온보딩 중 이탈할 경우 대비 ROLE 추가
Browse files Browse the repository at this point in the history
[REFACTOR] #158 - 선배 온보딩 중 이탈할 경우 대비 ROLE 추가
  • Loading branch information
ckkim817 authored Nov 5, 2024
2 parents 5b53757 + 6ac68c7 commit f95de1e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ private LoginSuccessResponse getTokenDto(final MemberInfoResponse memberInfoResp
role = "JUNIOR";
}
} else {
role = "SENIOR";
role = (member.getSenior().getCatchphrase() != null) ? "SENIOR" : "SENIOR_PENDING";
}

return getTokenByMemberId(
Expand Down Expand Up @@ -135,7 +135,7 @@ private LoginSuccessResponse getTokenDto(final MemberInfoResponse memberInfoResp
role = "JUNIOR";
}
} else {
role = "SENIOR";
role = (member.getSenior().getCatchphrase() != null) ? "SENIOR" : "SENIOR_PENDING";
}

return getTokenByMemberId(
Expand Down

0 comments on commit f95de1e

Please sign in to comment.