mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-01-03 22:24:27 +01:00
Fix missing view name
This commit is contained in:
@@ -238,7 +238,7 @@ namespace BTCPayServer.Controllers
|
||||
public async Task<IActionResult> NewWebhook(string storeId, EditWebhookViewModel viewModel)
|
||||
{
|
||||
if (!ModelState.IsValid)
|
||||
return View(viewModel);
|
||||
return View(nameof(ModifyWebhook), viewModel);
|
||||
|
||||
var webhookId = await _Repo.CreateWebhook(CurrentStore.Id, viewModel.CreateBlob());
|
||||
TempData[WellKnownTempData.SuccessMessage] = "The webhook has been created";
|
||||
|
||||
Reference in New Issue
Block a user