From 59e3c9f3b056d0b0d22bc5ffdefbb33be2a3db7a Mon Sep 17 00:00:00 2001 From: TariqueNasrullah Date: Mon, 13 Sep 2021 00:54:22 +0600 Subject: [PATCH] fixed typo --- webhooks.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webhooks.go b/webhooks.go index 8392208..feccdb9 100644 --- a/webhooks.go +++ b/webhooks.go @@ -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)