Skip to content

Commit

Permalink
fix: dirty check
Browse files Browse the repository at this point in the history
  • Loading branch information
jeongho1209 committed Jun 1, 2024
1 parent c267ef1 commit 6ae8ec0
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ class TravelInfoService(
travelDestinationId = request.travelDestinationId,
)
} ?: throw TravelDestinationNotFoundException(TravelDestinationNotFoundException.TRAVEL_DESTINATION_NOT_FOUND)

travelInfoRepository.save(travelInfo)
}

@Transactional
Expand All @@ -75,6 +77,7 @@ class TravelInfoService(
}

travelInfo.deleteTravelInfo()
travelInfoRepository.save(travelInfo)
}

suspend fun getTravelInfosByTravelDestinationId(
Expand Down

0 comments on commit 6ae8ec0

Please sign in to comment.