Skip to content

Commit 45981da

Browse files
authored
Fix double pointer (#195)
1 parent f87249c commit 45981da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ func (c *Client) PushWithContext(ctx Context, n *Notification) (*Response, error
184184
response.ApnsID = httpRes.Header.Get("apns-id")
185185

186186
decoder := json.NewDecoder(httpRes.Body)
187-
if err := decoder.Decode(&response); err != nil && err != io.EOF {
187+
if err := decoder.Decode(response); err != nil && err != io.EOF {
188188
return &Response{}, err
189189
}
190190
return response, nil

0 commit comments

Comments
 (0)