diff --git a/webhooks/get_by_id.go b/webhooks/get_by_id.go index 14484da..b911bb8 100644 --- a/webhooks/get_by_id.go +++ b/webhooks/get_by_id.go @@ -6,7 +6,7 @@ import ( seamapigo "github.com/seamapi/go" ) -func (c *Client) GetById(ctx context.Context, webhookId string) (*seamapigo.WebhooksGetResponse, error) { +func (c *Client) GetById(ctx context.Context, webhookId string) (*seamapigo.Webhook, error) { return c.Get( ctx, &seamapigo.WebhooksGetRequest{