mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-21 22:11:48 +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)
|
public async Task<IActionResult> NewWebhook(string storeId, EditWebhookViewModel viewModel)
|
||||||
{
|
{
|
||||||
if (!ModelState.IsValid)
|
if (!ModelState.IsValid)
|
||||||
return View(viewModel);
|
return View(nameof(ModifyWebhook), viewModel);
|
||||||
|
|
||||||
var webhookId = await _Repo.CreateWebhook(CurrentStore.Id, viewModel.CreateBlob());
|
var webhookId = await _Repo.CreateWebhook(CurrentStore.Id, viewModel.CreateBlob());
|
||||||
TempData[WellKnownTempData.SuccessMessage] = "The webhook has been created";
|
TempData[WellKnownTempData.SuccessMessage] = "The webhook has been created";
|
||||||
|
|
Loading…
Add table
Reference in a new issue