-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ec15cef
commit 2259b71
Showing
5 changed files
with
19 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
week02/seminar/demo/src/main/java/com/example/demo/service/dto/member/UserJoinResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
package com.example.demo.service.dto.member; | ||
|
||
public record UserJoinResponse( | ||
String userId, | ||
String accessToken, | ||
String refreshToekn, | ||
String userId | ||
String refreshToekn | ||
) { | ||
|
||
public static UserJoinResponse of( | ||
String userId, | ||
String accessToken, | ||
String refreshToekn, | ||
String userId | ||
String refreshToekn | ||
) { | ||
return new UserJoinResponse(accessToken, refreshToekn, userId); | ||
return new UserJoinResponse(userId, accessToken, refreshToekn); | ||
} | ||
} |