Skip to content

Commit 0956faf

Browse files
Fixes #9 - filter operator correctly added to the notification request
1 parent dfe4667 commit 0956faf

File tree

1 file changed

+4
-1
lines changed
  • src/main/java/com/currencyfair/onesignal/model/notification

1 file changed

+4
-1
lines changed

src/main/java/com/currencyfair/onesignal/model/notification/Filter.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,14 @@ public class Filter {
5757
*/
5858
private Operator operator;
5959

60-
public Filter(Field field, String key, Relation relation, String value, Operator operator) {
60+
public Filter(Field field, String key, Relation relation, String value) {
6161
this.field = field;
6262
this.key = key;
6363
this.relation = relation;
6464
this.value = value;
65+
}
66+
67+
public Filter(Operator operator) {
6568
this.operator = operator;
6669
}
6770

0 commit comments

Comments
 (0)