Skip to content

Commit

Permalink
feat : dto에 refresh 토큰 필드 추가 #15
Browse files Browse the repository at this point in the history
  • Loading branch information
PicturePark1101 committed May 30, 2024
1 parent f688898 commit ec15cef
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
package com.example.demo.service.dto;
package com.example.demo.service.dto.member;

public record UserJoinResponse(
String accessToken,
String refreshToekn,
String userId
) {

public static UserJoinResponse of(
String accessToken,
String refreshToekn,
String userId
) {
return new UserJoinResponse(accessToken, userId);
return new UserJoinResponse(accessToken, refreshToekn, userId);
}
}

0 comments on commit ec15cef

Please sign in to comment.