Compare commits

..

1 Commits

Author SHA1 Message Date
508181d1ad 16 create firewall policy api (#17)
* Create firewall policy
2025-04-19 00:01:37 +02:00

View File

@@ -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 {