mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 06:24:24 +01:00
Return view after webhook test POST call
This commit is contained in:
@@ -121,9 +121,11 @@ namespace BTCPayServer.Controllers
|
||||
}
|
||||
|
||||
[HttpPost("{storeId}/webhooks/{webhookId}/test")]
|
||||
public async void TestWebhook(string webhookId, TestWebhookViewModel viewModel)
|
||||
public async Task<IActionResult> TestWebhook(string webhookId, TestWebhookViewModel viewModel)
|
||||
{
|
||||
await WebhookNotificationManager.TestWebhook(CurrentStore.Id, webhookId, viewModel.Type);
|
||||
|
||||
return View(nameof(TestWebhook));
|
||||
}
|
||||
|
||||
[HttpPost("{storeId}/webhooks/{webhookId}/deliveries/{deliveryId}/redeliver")]
|
||||
|
||||
Reference in New Issue
Block a user