mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 22:44:29 +01:00
Fix: Updating store settings would silently fail where the is validation issue
This commit is contained in:
@@ -158,6 +158,8 @@ public partial class UIStoresController
|
|||||||
blob.CssUrl = null;
|
blob.CssUrl = null;
|
||||||
needUpdate = true;
|
needUpdate = true;
|
||||||
}
|
}
|
||||||
|
if (!ModelState.IsValid)
|
||||||
|
return View(model);
|
||||||
|
|
||||||
if (CurrentStore.SetStoreBlob(blob))
|
if (CurrentStore.SetStoreBlob(blob))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user