Skip to content

Commit

Permalink
[FIX] onBoardingProfile 메소드를 builder로 교체 (#82)
Browse files Browse the repository at this point in the history
* fix : onBoardingProfile 메소드를 builder로 교체 #81

* spotlessApply #81
  • Loading branch information
bongsh0112 authored Nov 4, 2023
1 parent bc3693c commit 7187e95
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import tify.server.domain.common.vo.UserInfoVo;
import tify.server.domain.common.vo.UserProfileVo;
import tify.server.domain.domains.AbstractTimeStamp;

@Slf4j
@Getter
@Entity
@Table(name = "tbl_user")
Expand Down Expand Up @@ -73,7 +75,8 @@ public void onBoarding(
String birth,
Gender gender,
UserOnBoardingStatus onBoardingStatus) {
this.profile.onBoardingProfile(username, birth, gender);
// this.profile.onBoardingProfile(username, birth, gender);
this.profile = Profile.builder().userName(username).birth(birth).gender(gender).build();
this.userId = userId;
this.onBoardingStatus = onBoardingStatus;
}
Expand Down

0 comments on commit 7187e95

Please sign in to comment.