diff --git a/src/main/java/com/modernfarmer/farmusspring/domain/farmclub/service/FarmClubService.java b/src/main/java/com/modernfarmer/farmusspring/domain/farmclub/service/FarmClubService.java index fc5140be..6d2246aa 100644 --- a/src/main/java/com/modernfarmer/farmusspring/domain/farmclub/service/FarmClubService.java +++ b/src/main/java/com/modernfarmer/farmusspring/domain/farmclub/service/FarmClubService.java @@ -80,7 +80,7 @@ public RegisterFarmClubResponseDto registerFarmClub(Long farmClubId, Long myVegg MyVeggie myVeggie = myVeggieHelper.getMyVeggieEntity(myVeggieId); FarmClub farmClub = farmClubHelper.getFarmClubEntity(farmClubId); // 채소정보 id로 채소의 첫 스텝명 불러옴 - String stepName = ""; + String stepName = veggieInfoHelper.getStepName(farmClub.getVeggieInfoId(), 0); UserFarmClub userFarmClub = createUserFarmClubEntity(userId, stepName, farmClub, myVeggie); farmClub.addUserFarmClub(userFarmClub); myVeggie.setUserFarmClub(userFarmClub);