Skip to content

Commit

Permalink
Update alerts.go
Browse files Browse the repository at this point in the history
Co-authored-by: KADOTA, Kyohei <lufia@users.noreply.github.com>
  • Loading branch information
yseto and lufia committed Nov 9, 2022
1 parent 9a3ca55 commit 2e52f84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alerts.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ func (c *Client) UpdateAlert(alertID string, param UpdateAlertParam) (*UpdateAle
return nil, err
}

var data = UpdateAlertResponse{}
var data UpdateAlertResponse
err = json.NewDecoder(resp.Body).Decode(&data)
if err != nil {
return nil, err
Expand Down

0 comments on commit 2e52f84

Please sign in to comment.