Allow auto approval of claims for pull payments (#1851)

* Allow auto approval of claims for pull payments

closes #1780

* fix
This commit is contained in:
Andrew Camilleri
2022-04-28 02:51:04 +02:00
committed by GitHub
parent 273bc78db3
commit ed1a7bb887
13 changed files with 76 additions and 22 deletions

View File

@@ -139,7 +139,8 @@ namespace BTCPayServer.Controllers
PaymentMethodIds = selectedPaymentMethodIds,
EmbeddedCSS = model.EmbeddedCSS,
CustomCSSLink = model.CustomCSSLink,
BOLT11Expiration = TimeSpan.FromDays(model.BOLT11Expiration)
BOLT11Expiration = TimeSpan.FromDays(model.BOLT11Expiration),
AutoApproveClaims = model.AutoApproveClaims
});
this.TempData.SetStatusMessageModel(new StatusMessageModel()
{