diff --git a/marketplace-service/src/main/java/com/axonivy/market/service/impl/FeedbackServiceImpl.java b/marketplace-service/src/main/java/com/axonivy/market/service/impl/FeedbackServiceImpl.java index 490bb4c8e..a60ea69e4 100644 --- a/marketplace-service/src/main/java/com/axonivy/market/service/impl/FeedbackServiceImpl.java +++ b/marketplace-service/src/main/java/com/axonivy/market/service/impl/FeedbackServiceImpl.java @@ -8,6 +8,7 @@ import com.axonivy.market.repository.ProductRepository; import com.axonivy.market.repository.UserRepository; import com.axonivy.market.service.FeedbackService; +import com.axonivy.market.service.UserService; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.stereotype.Service; @@ -21,11 +22,13 @@ public class FeedbackServiceImpl implements FeedbackService { private final FeedbackRepository feedbackRepository; private final UserRepository userRepository; private final ProductRepository productRepository; + private final UserService userService; - public FeedbackServiceImpl(FeedbackRepository feedbackRepository, UserRepository userRepository, ProductRepository productRepository) { + public FeedbackServiceImpl(FeedbackRepository feedbackRepository, UserRepository userRepository, ProductRepository productRepository, UserService userService) { this.feedbackRepository = feedbackRepository; this.userRepository = userRepository; this.productRepository = productRepository; + this.userService = userService; } @Override