mirror of
https://github.com/hanzo-fi/payments.git
synced 2026-10-30 20:31:20 +00:00
16 lines
286 B
Go
16 lines
286 B
Go
package services
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/formancehq/payments/internal/models"
|
|
)
|
|
|
|
func (s *Service) ConnectorsHandleWebhooks(
|
|
ctx context.Context,
|
|
urlPath string,
|
|
webhook models.Webhook,
|
|
) error {
|
|
return handleEngineErrors(s.engine.HandleWebhook(ctx, urlPath, webhook))
|
|
}
|