mirror of
https://github.com/plutov/paypal.git
synced 2025-01-23 02:11:02 +01:00
fixed typo
This commit is contained in:
parent
326d69cc9e
commit
59e3c9f3b0
|
@ -124,7 +124,7 @@ func (c *Client) VerifyWebhookSignature(ctx context.Context, httpReq *http.Reque
|
||||||
return response, nil
|
return response, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetWebhooksEventTypes - Lists all webhook event types.
|
// GetWebhookEventTypes - Lists all webhook event types.
|
||||||
// Endpoint: GET /v1/notifications/webhooks-event-types
|
// Endpoint: GET /v1/notifications/webhooks-event-types
|
||||||
func (c *Client) GetWebhookEventTypes(ctx context.Context) (*WebhookEventTypesResponse, error) {
|
func (c *Client) GetWebhookEventTypes(ctx context.Context) (*WebhookEventTypesResponse, error) {
|
||||||
req, err := c.NewRequest(ctx, http.MethodGet, fmt.Sprintf("%s%s", c.APIBase, "/v1/notifications/webhooks-event-types"), nil)
|
req, err := c.NewRequest(ctx, http.MethodGet, fmt.Sprintf("%s%s", c.APIBase, "/v1/notifications/webhooks-event-types"), nil)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user