Skip to content

Commit 238451e

Browse files
authored
hotfix: generateAccessToken -> tenantId, tokenValue 순서 바꿈 (#11)
1 parent 4db1194 commit 238451e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/main/java/com/doubleo/adminservice/global/util

src/main/java/com/doubleo/adminservice/global/util/JwtUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public AccessTokenDto generateAccessTokenDto(Long adminId, String tenantId) {
2424
Date expiredAt =
2525
new Date(issuedAt.getTime() + jwtProperties.accessTokenExpirationMilliTime());
2626
String tokenValue = buildAccessToken(adminId, tenantId, issuedAt, expiredAt);
27-
return new AccessTokenDto(adminId, tokenValue, tenantId);
27+
return new AccessTokenDto(adminId, tenantId, tokenValue);
2828
}
2929

3030
public String generateAccessToken(Long adminId, String tenantId) {

0 commit comments

Comments
 (0)