Skip to content

Commit

Permalink
refactor : id를 맥락에 맞게 memberId로 변경 (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
binary-ho committed Mar 8, 2024
1 parent 406987b commit 8d0fc13
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ public Token createToken(String univId, String roleKey) {
return createToken(claims, roleKey);
}

public Token createToken(Long id, Role role) {
Claims claims = Jwts.claims().setSubject(id.toString());
public Token createToken(Long memberId, Role role) {
Claims claims = Jwts.claims().setSubject(memberId.toString());
return createToken(claims, role.getKey());
}

Expand Down

0 comments on commit 8d0fc13

Please sign in to comment.