mirror of
https://github.com/eduardolat/pgbackweb.git
synced 2026-02-11 14:48:35 -06:00
14 lines
292 B
Go
14 lines
292 B
Go
package webhooks
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/eduardolat/pgbackweb/internal/database/dbgen"
|
|
)
|
|
|
|
func (s *Service) CreateWebhook(
|
|
ctx context.Context, params dbgen.WebhooksServiceCreateWebhookParams,
|
|
) (dbgen.Webhook, error) {
|
|
return s.dbgen.WebhooksServiceCreateWebhook(ctx, params)
|
|
}
|