fix delete method copy pasta

This commit is contained in:
Nic West 2016-11-01 11:57:28 +00:00
parent 1be8989df5
commit c13c7ab990

View File

@ -105,7 +105,7 @@ func (c *Client) DeleteWebProfile(profileID string) error {
url := fmt.Sprintf("%s%s%s", c.APIBase, "/v1/payment-experience/web-profiles/", profileID)
req, err := c.NewRequest(http.MethodPut, url, nil)
req, err := c.NewRequest(http.MethodDelete, url, nil)
if err != nil {
return err