Skip to content
Browse files

Fix sample code in README

  • Loading branch information...
1 parent 5d8017b commit d58f08270eb98c5ed3c831bda1b05875ca616800 @simonwhitaker simonwhitaker committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.markdown
View
2 README.markdown
@@ -13,7 +13,7 @@ A Python library for interacting with the Apple Push Notification service (APNs)
payload = {'aps': {alert': {'body': 'Hello world!'}}}
gateway_server = apns.gateway_server()
- gateway_server.send_notification(s.apns_token_hex, s.get_payload())
+ gateway_server.send_notification(token_hex, payload)
# Get feedback messages
feedback_server = apns.feedback_server()

0 comments on commit d58f082

Please sign in to comment.
Something went wrong with that request. Please try again.