mirror of
https://github.com/plutov/paypal.git
synced 2025-01-23 02:11:02 +01:00
fix delete method copy pasta
This commit is contained in:
parent
1be8989df5
commit
c13c7ab990
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user