Skip to content

Commit 575c4e4

Browse files
authored
remove pointer (#113)
1 parent d1a8120 commit 575c4e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ func (c *Client) sendRequest(req *http.Request, v interface{}) error {
7070
}
7171

7272
if v != nil {
73-
if err = json.NewDecoder(res.Body).Decode(&v); err != nil {
73+
if err = json.NewDecoder(res.Body).Decode(v); err != nil {
7474
return err
7575
}
7676
}

0 commit comments

Comments
 (0)