Skip to content

Commit 858c28c

Browse files
committed
Fixed README.
1 parent e61fe3a commit 858c28c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ You can send a message based on a set of tags with the command
8989
OneSignal::sendNotificationUsingTags(
9090
"Some Message",
9191
array(
92-
["field" => "email", "relation" => "=", "value" => "[email protected]"],
93-
["field" => "email", "relation" => "=", "value" => "[email protected]"],
92+
["key" => "email", "relation" => "=", "value" => "[email protected]"],
93+
["key" => "email", "relation" => "=", "value" => "[email protected]"],
9494
...
9595
),
9696
$url = null,
@@ -106,8 +106,8 @@ You can send a message based on a set of tags with the command
106106
OneSignal::sendNotificationUsingTags(
107107
"Some Message",
108108
array(
109-
["field" => "session_count", "relation" => ">", "value" => '2'],
110-
["field" => "first_session", "relation" => ">", "value" => '2000'],
109+
["key" => "session_count", "relation" => ">", "value" => '2'],
110+
["key" => "first_session", "relation" => ">", "value" => '2000'],
111111
),
112112
$url = null,
113113
$data = null,

0 commit comments

Comments
 (0)