File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -265,7 +265,7 @@ func (p *Payload) AlertSummaryArgCount(key int) *Payload {
265265// This is a string value that represents the identifier property of the
266266// UIMutableUserNotificationCategory object you created to define custom actions.
267267//
268- // {"aps":{"alert":{" category":category} }}
268+ // {"aps":{"category":category}}
269269func (p * Payload ) Category (category string ) * Payload {
270270 p .aps ().Category = category
271271 return p
Original file line number Diff line number Diff line change @@ -86,7 +86,6 @@ func TestGenerateWithNoAuthKey(t *testing.T) {
8686
8787func TestGenerateWithInvalidAuthKey (t * testing.T ) {
8888 pubkeyCurve := elliptic .P521 ()
89- privatekey := & ecdsa.PrivateKey {}
9089 privatekey , err := ecdsa .GenerateKey (pubkeyCurve , rand .Reader )
9190
9291 token := & token.Token {
You can’t perform that action at this time.
0 commit comments