Skip to content

Commit 4274e69

Browse files
committed
Update example
1 parent d731529 commit 4274e69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/example.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func main() {
2828

2929
p := apns.NewPayload()
3030
p.APS.Alert.Body = body
31-
p.APS.Badge = badge
31+
p.APS.Badge = &badge
3232

3333
p.SetCustomValue("link", "yourapp://precache/20140718")
3434

0 commit comments

Comments
 (0)