Skip to content

Commit

Permalink
fix: 401 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoya324 committed Nov 12, 2024
1 parent aff103a commit de87fbd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/org/findy/findy_be/user/domain/User.java
Original file line number Diff line number Diff line change
Expand Up @@ -100,14 +100,15 @@ public void updateUser(OAuth2UserInfo userInfo) {
public static User create(
@NotNull @Size(max = 64) String userId,
@NotNull @Size(max = 100) String username,
@NotNull @Size(max = 512) String email,
@Size(max = 512) String email,
@NotNull @Size(max = 1) String emailVerifiedYn,
@NotNull @Size(max = 512) String profileImageUrl,
@NotNull SocialProviderType socialProviderType,
@NotNull RoleType roleType,
@NotNull LocalDateTime createdAt,
@NotNull LocalDateTime updatedAt
) {
email = email != null ? email : "NO_EMAIL";
profileImageUrl = profileImageUrl != null ? profileImageUrl : "";
return User.of(userId, username, email, emailVerifiedYn, profileImageUrl, socialProviderType, roleType,
createdAt, updatedAt);
Expand Down

0 comments on commit de87fbd

Please sign in to comment.