Skip to content

Commit 9cac0a7

Browse files
Fix typo in example (#106)
1 parent 214b72b commit 9cac0a7

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
@@ -35,7 +35,7 @@ from apns2.credentials import TokenCredentials
3535
auth_key_path = 'path/to/auth_key'
3636
auth_key_id = 'app_auth_key_id'
3737
team_id = 'app_team_id'
38-
token_credentials = TokensCredentials(auth_key_path=auth_key_path, auth_key_id=auth_key_id, team_id=team_id)
38+
token_credentials = TokenCredentials(auth_key_path=auth_key_path, auth_key_id=auth_key_id, team_id=team_id)
3939
client = APNsClient(credentials=token_credentials, use_sandbox=False)
4040
client.send_notification_batch(notifications=notifications, topic=topic)
4141
```
@@ -82,4 +82,4 @@ PyAPNs2 is distributed under the terms of the MIT license.
8282

8383
See [LICENSE](LICENSE) file for the complete license details.
8484

85-
[a1]:https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/
85+
[a1]:https://developer.apple.com/documentation/usernotifications?language=objc

0 commit comments

Comments
 (0)