Skip to content

Commit

Permalink
Revert calling doRequestDetailed to doRequest as it's unnecessary for…
Browse files Browse the repository at this point in the history
… this specific call
  • Loading branch information
vvuksan committed Jul 7, 2023
1 parent 1720e23 commit e93edec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api.go
Original file line number Diff line number Diff line change
Expand Up @@ -2897,7 +2897,7 @@ func (sc *Client) doRequestDetailed(method, url, reqBody string) (*http.Response

// CreateOrUpdateEdgeDeployment initializes the Next-Gen WAF deployment in Compute@Edge and configures the site for Edge Deployment.
func (sc *Client) CreateOrUpdateEdgeDeployment(corpName, siteName string) error {
_, err := sc.doRequestDetailed("PUT", fmt.Sprintf("/v0/corps/%s/sites/%s/edgeDeployment", corpName, siteName), "")
_, err := sc.doRequest("PUT", fmt.Sprintf("/v0/corps/%s/sites/%s/edgeDeployment", corpName, siteName), "")

return err
}
Expand Down

0 comments on commit e93edec

Please sign in to comment.