Files
pgbackweb/internal/service/webhooks/get_webhook.go
T
Luis Eduardo Jeréz Girón c9ea76be56 Add webhooks mechanism
2024-08-18 23:02:25 -06:00

15 lines
273 B
Go

package webhooks
import (
"context"
"github.com/eduardolat/pgbackweb/internal/database/dbgen"
"github.com/google/uuid"
)
func (s *Service) GetWebhook(
ctx context.Context, id uuid.UUID,
) (dbgen.Webhook, error) {
return s.dbgen.WebhooksServiceGetWebhook(ctx, id)
}