From fbe209609887107e85f9e13124e2552e2513dfa0 Mon Sep 17 00:00:00 2001 From: Umar Bolatov Date: Wed, 11 May 2022 21:07:56 -0700 Subject: [PATCH] Set pull payment auto approve flag when creating the model fix #3693 --- .../Controllers/UIStorePullPaymentsController.PullPayments.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BTCPayServer/Controllers/UIStorePullPaymentsController.PullPayments.cs b/BTCPayServer/Controllers/UIStorePullPaymentsController.PullPayments.cs index 7237a7afc..1e51187cd 100644 --- a/BTCPayServer/Controllers/UIStorePullPaymentsController.PullPayments.cs +++ b/BTCPayServer/Controllers/UIStorePullPaymentsController.PullPayments.cs @@ -251,7 +251,8 @@ namespace BTCPayServer.Controllers ResetIn = period?.End is DateTimeOffset nr ? ZeroIfNegative(nr - now).TimeString() : null, EndIn = pp.EndDate is DateTimeOffset end ? ZeroIfNegative(end - now).TimeString() : null, }, - Archived = pp.Archived + Archived = pp.Archived, + AutoApproveClaims = ppBlob.AutoApproveClaims }); } return View(vm);