Skip to content

Commit

Permalink
fix: reset
Browse files Browse the repository at this point in the history
  • Loading branch information
CorentinB committed Nov 20, 2024
1 parent b2eba51 commit 3229917
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reset.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
)

func (c *Client) Reset() (err error) {
expectedStatusCode := 200
expectedStatusCode := 202

req, err := http.NewRequest("GET", c.ResetEndpoint.String(), nil)
req, err := http.NewRequest("POST", c.ResetEndpoint.String(), nil)
if err != nil {
return err
}
Expand Down

0 comments on commit 3229917

Please sign in to comment.