Skip to content

Commit

Permalink
[fix] 팜클럽 완료 시 -1 조건 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryeolee committed Sep 4, 2024
1 parent f467cc3 commit 21cc7d3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public void successFarming(SuccessFarmingRequestDto requestDto, MultipartFile im
}

public int checkFarmClubAffiliation(MyVeggie myVeggie){
if(myVeggie.getUserFarmClub() == null)
if(myVeggie.getUserFarmClub() == null || myVeggie.getUserFarmClub().isComplete())
return -1;
return myVeggie.getUserFarmClub().getCurrentStep();
}
Expand Down

0 comments on commit 21cc7d3

Please sign in to comment.