mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-20 13:34:37 +01:00
Fix missing view name
This commit is contained in:
parent
2fd8c831c0
commit
a6fe61d508
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Reference in a new issue