Skip to content

Commit

Permalink
moved comment
Browse files Browse the repository at this point in the history
  • Loading branch information
vtopc committed Nov 9, 2024
1 parent 6539096 commit 50d87b6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webhooks.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package mailgun

// https://documentation.mailgun.com/docs/mailgun/api-reference/openapi-final/tag/Webhooks/#tag/Webhooks

import (
"context"
"crypto/hmac"
Expand Down Expand Up @@ -52,7 +54,6 @@ func (mg *MailgunImpl) ListWebhooks(ctx context.Context) (map[string][]string, e
}

// CreateWebhook installs a new webhook for your domain.
// List of ids - https://documentation.mailgun.com/docs/mailgun/api-reference/openapi-final/tag/Webhooks/#tag/Webhooks
func (mg *MailgunImpl) CreateWebhook(ctx context.Context, id string, urls []string) error {
r := newHTTPRequest(generateDomainApiUrl(mg, webhooksEndpoint))
r.setClient(mg.Client())
Expand Down

0 comments on commit 50d87b6

Please sign in to comment.