Set pull payment auto approve flag when creating the model

fix #3693
This commit is contained in:
Umar Bolatov 2022-05-11 21:07:56 -07:00 committed by Andrew Camilleri
parent d7faa0a0fd
commit fbe2096098

View File

@ -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);