Skip to content
This repository was archived by the owner on Jun 28, 2024. It is now read-only.

Commit f1541b8

Browse files
authored
Merge pull request brozot#61 from chimit/patch-2
Add missing $data in Readme
2 parents 20f2881 + f1d846f commit f1541b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ $data = $dataBuilder->build();
178178
// You must change it to get your tokens
179179
$tokens = MYDATABASE::pluck('fcm_token')->toArray();
180180

181-
$downstreamResponse = FCM::sendTo($tokens, $option, $notification);
181+
$downstreamResponse = FCM::sendTo($tokens, $option, $notification, $data);
182182

183183
$downstreamResponse->numberSuccess();
184184
$downstreamResponse->numberFailure();

0 commit comments

Comments
 (0)