Skip to content

Commit

Permalink
gofmt file
Browse files Browse the repository at this point in the history
  • Loading branch information
blockpane committed Mar 1, 2021
1 parent f41ecbb commit baebca9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion event.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func CreateEventWithHTTPClient(e Event, client HTTPClient) (*EventResponse, erro
req.Header.Set("Content-Type", "application/json")
resp, err := client.Do(req)
if err != nil {
return nil, fmt.Errorf("failed to action request: %w", err)
return nil, fmt.Errorf("failed to action request: %w", err)
}
defer resp.Body.Close()
if resp.StatusCode != http.StatusOK {
Expand Down

0 comments on commit baebca9

Please sign in to comment.