-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[refac] typo correction and encapsulation variable
- Loading branch information
Showing
4 changed files
with
17 additions
and
18 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
12 changes: 12 additions & 0 deletions
12
...ava/org/hankki/hankkiserver/api/user/service/response/UserProfileAndNicknameResponse.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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package org.hankki.hankkiserver.api.user.service.response; | ||
|
||
import org.hankki.hankkiserver.domain.user.model.UserInfo; | ||
|
||
public record UserProfileAndNicknameResponse( | ||
String nickname, | ||
String profileImageUrl | ||
) { | ||
public static UserProfileAndNicknameResponse of(UserInfo userInfo) { | ||
return new UserProfileAndNicknameResponse(userInfo.getNickname(), userInfo.getProfileImageUrl()); | ||
} | ||
} |
10 changes: 0 additions & 10 deletions
10
...ava/org/hankki/hankkiserver/api/user/service/response/UserProfileAndNicknmaeResponse.java
This file was deleted.
Oops, something went wrong.