diff --git a/src/main/java/com/uci/dao/repository/XMessageRepository.java b/src/main/java/com/uci/dao/repository/XMessageRepository.java index cae2c60..7029ed5 100644 --- a/src/main/java/com/uci/dao/repository/XMessageRepository.java +++ b/src/main/java/com/uci/dao/repository/XMessageRepository.java @@ -34,7 +34,7 @@ public interface XMessageRepository extends ReactiveCassandraRepository findFirstByAppOrderByTimestampDesc(String appName); @AllowFiltering - Flux> findAllByUserId(Pageable pageable, String userID); + Flux findAllByUserId(Pageable pageable, String userID); Flux findByMessageId(String messageID); @@ -72,10 +72,10 @@ public interface XMessageRepository extends ReactiveCassandraRepository> findAllByUserIdAndFromId(Pageable paging, String userID, String fromID); @AllowFiltering - Flux> findAllByAppAndTimestampAfterAndTimestampBeforeAndProvider(Pageable paging, String name, Timestamp startDate, Timestamp endDate, String provider); + Mono> findAllByAppAndTimestampAfterAndTimestampBeforeAndProvider(Pageable paging, String name, Timestamp startDate, Timestamp endDate, String provider); @AllowFiltering - Flux> findAllByUserIdAndTimestampAfterAndTimestampBeforeAndProvider(Pageable paging, String userId, Timestamp startDate, Timestamp endDate, String provider); + Mono> findAllByUserIdAndTimestampAfterAndTimestampBeforeAndProvider(Pageable paging, String userId, Timestamp startDate, Timestamp endDate, String provider); }