Skip to content

Commit

Permalink
fix(team): resolve error when additional activity is null
Browse files Browse the repository at this point in the history
  • Loading branch information
Chaerim1001 committed Sep 29, 2023
1 parent 2a61558 commit 69f05b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/e2i/wemeet/domain/team/Team.java
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public void update(UpdateTeamRequestDto updateTeamRequestDto) {
this.region = Region.valueOf(updateTeamRequestDto.region());
this.drinkRate = DrinkRate.valueOf(updateTeamRequestDto.drinkRate());
this.drinkWithGame = DrinkWithGame.valueOf(updateTeamRequestDto.drinkWithGame());
this.additionalActivity = AdditionalActivity.valueOf(
this.additionalActivity = AdditionalActivity.findBy(
updateTeamRequestDto.additionalActivity());
this.introduction = updateTeamRequestDto.introduction();
this.chatLink = updateTeamRequestDto.chatLink();
Expand Down

0 comments on commit 69f05b6

Please sign in to comment.