From a6fe61d5084baa447088c6fd44916b9ee22ac4fd Mon Sep 17 00:00:00 2001 From: Dennis Reimann Date: Tue, 23 Feb 2021 16:51:11 +0100 Subject: [PATCH] Fix missing view name --- BTCPayServer/Controllers/StoresController.Integrations.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BTCPayServer/Controllers/StoresController.Integrations.cs b/BTCPayServer/Controllers/StoresController.Integrations.cs index 6e342f572..ed75d161b 100644 --- a/BTCPayServer/Controllers/StoresController.Integrations.cs +++ b/BTCPayServer/Controllers/StoresController.Integrations.cs @@ -238,7 +238,7 @@ namespace BTCPayServer.Controllers public async Task 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";