Skip to content

Commit

Permalink
spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
Дмитрий Седых committed Sep 24, 2016
1 parent 093dbfb commit 23f91f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,15 @@ import (
"github.com/mdigger/apns"
)
func main() {
provederToken, err := apns.NewProviderToken("W23G28NPJW", "67XV3VSJ95")
providerToken, err := apns.NewProviderToken("W23G28NPJW", "67XV3VSJ95")
if err != nil {
log.Fatal(err)
}
err = provederToken.LoadPrivateKey("APNSAuthKey_67XV3VSJ95.p8")
err = providerToken.LoadPrivateKey("APNSAuthKey_67XV3VSJ95.p8")
if err != nil {
log.Fatal(err)
}
client := apns.NewWithToken(provederToken)
client := apns.NewWithToken(providerToken)
id, err := client.Push(apns.Notification{
Token: `883982D57CDC4138D71E16B5ACBCB5DEBE3E625AFCEEE809A0F32895D2EA9D51`,
Topic: "com.xyzrd.trackintouch",
Expand Down

0 comments on commit 23f91f6

Please sign in to comment.