Skip to content

Commit

Permalink
Merge pull request #30 from unrolled/master
Browse files Browse the repository at this point in the history
Change example to reflect production
  • Loading branch information
sideshow authored Jun 30, 2016
2 parents 873d6f5 + e46f4a5 commit eacc6af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func main() {
notification.Topic = "com.sideshow.Apns2"
notification.Payload = []byte(`{"aps":{"alert":"Hello!"}}`) // See Payload section below

client := apns.NewClient(cert).Development()
client := apns.NewClient(cert).Production()
res, err := client.Push(notification)

if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion _example/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func main() {
}
`)

client := apns.NewClient(cert).Development()
client := apns.NewClient(cert).Production()
res, err := client.Push(notification)

if err != nil {
Expand Down

0 comments on commit eacc6af

Please sign in to comment.