Use proper and more clear parameter name in APNsClient
This commit is contained in:
@@ -15,7 +15,7 @@ from apns2.payload import Payload
|
||||
|
||||
token_hex = 'b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b87'
|
||||
payload = Payload(alert="Hello World!", sound="default", badge=1)
|
||||
client = APNsClient('key.pem', use_sandbox=False, use_alternate_port=False)
|
||||
client = APNsClient('key.pem', use_sandbox=False, use_alternative_port=False)
|
||||
client.send_notification(token_hex, payload)
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user