public async Task <Webhook> UpdateAsync(int webhookId, WebhookUpdate webhookUpdate, WebhookRequest request) { var updateLink = await _linkFactory.CreateLinkAsync($"webhooks/{webhookId}").ConfigureAwait(_halClient); return(await _halClient.PostAsync <Webhook>(updateLink, webhookUpdate, request).ConfigureAwait(_halClient)); }
public Task <Webhook> UpdateAsync(int webhookId, WebhookUpdate webhookUpdate) { return(UpdateAsync(webhookId, webhookUpdate, new WebhookRequest())); }