There was an error while loading. Please reload this page.
2 parents a197d31 + a9f53ac commit 0e5c611Copy full SHA for 0e5c611
1 file changed
src/main/java/org/farmsystem/homepage/domain/user/service/DailySeedService.java
@@ -78,6 +78,7 @@ private boolean handleSeedEvent(DailySeed dailySeed, SeedEventType eventType, Us
78
}
79
80
81
+ @Transactional
82
public TodaySeedResponseDTO getTodaySeed(Long userId) {
83
User user = userRepository.findById(userId)
84
.orElseThrow(() -> new EntityNotFoundException(USER_NOT_FOUND));
0 commit comments