Skip to content

Commit

Permalink
Merge pull request #110 from BadChoice/master
Browse files Browse the repository at this point in the history
Updated the Pushok token creation method
  • Loading branch information
dwightwatson authored Oct 8, 2020
2 parents a9fb474 + 76efbb4 commit b2b4972
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public function routeNotificationForApn()
If you need to provide a custom configuration for a message you can provide an instance of a [Pushok](https://github.com/edamov/pushok) client and it will be used instead of the default one.

```php
$customClient = new Pushok\Client(new Pushok\Token($options));
$customClient = new Pushok\Client(Pushok\AuthProvider\Token::create($options));

return ApnMessage::create()
->title('Account approved')
Expand Down

0 comments on commit b2b4972

Please sign in to comment.