Skip to content

Commit 93cd1df

Browse files
committed
Update README.md
1 parent 763a592 commit 93cd1df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,12 +108,12 @@ class AccountApproved extends Notification
108108

109109
### Save/Update Subscriptions
110110

111-
To save or update a subscription use the `updatePushSubscription($endpoint, $key = null, $token = null)` method on your user:
111+
To save or update a subscription use the `updatePushSubscription($endpoint, $key = null, $token = null, $contentEncoding = null)` method on your user:
112112

113113
``` php
114114
$user = \App\User::find(1);
115115

116-
$user->updatePushSubscription($endpoint, $key, $token);
116+
$user->updatePushSubscription($endpoint, $key, $token, $contentEncoding);
117117
```
118118

119119
The `$key` and `$token` are optional and are used to encrypt your notifications. Only encrypted notifications can have a payload.

0 commit comments

Comments
 (0)