Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main/java/io/getstream/chat/java/models/Reminder.java
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public static class ReminderQueryRequestData {

@Singular
@Nullable
@JsonProperty("filter_conditions")
@JsonProperty("filter")
private Map<String, Object> filterConditions;

@Singular
Expand Down
4 changes: 2 additions & 2 deletions src/test/java/io/getstream/chat/java/ReminderTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,8 @@ void whenQueryingRemindersWithFilterConditions_thenNoException() {

// Verify the query returned results
Assertions.assertNotNull(reminders);
// Note: The API might not return any reminders if they were deleted or not indexed yet
// So we don't assert that the list is not empty
Assertions.assertEquals(1, reminders.size());
Assertions.assertEquals(message.getId(), reminders.get(0).getMessageId());

// Check for pagination fields
Assertions.assertDoesNotThrow(
Expand Down