fixed typo

This commit is contained in:
TariqueNasrullah 2021-09-13 00:54:22 +06:00
parent 326d69cc9e
commit 59e3c9f3b0

View File

@ -124,7 +124,7 @@ func (c *Client) VerifyWebhookSignature(ctx context.Context, httpReq *http.Reque
return response, nil
}
// GetWebhooksEventTypes - Lists all webhook event types.
// GetWebhookEventTypes - Lists all webhook event types.
// Endpoint: GET /v1/notifications/webhooks-event-types
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)