mirror of
https://github.com/eduardolat/pgbackweb.git
synced 2026-05-23 05:19:08 -05:00
15 lines
273 B
Go
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)
|
|
}
|