Compare commits
1 Commits
v0.0.1-alp
...
v0.0.1-alp
| Author | SHA1 | Date | |
|---|---|---|---|
| deed8eb64d |
@@ -255,7 +255,7 @@ func (c *Client) do_versioned(ctx context.Context, version, method, relativeURL
|
||||
c.csrf = resp.Header.Get("X-Csrf-Token")
|
||||
}
|
||||
|
||||
if resp.StatusCode != http.StatusOK {
|
||||
if resp.StatusCode != http.StatusOK && resp.StatusCode != http.StatusCreated {
|
||||
errBody := struct {
|
||||
Meta meta `json:"meta"`
|
||||
Data []struct {
|
||||
|
||||
Reference in New Issue
Block a user