Revert "Remove unused variables" (#5667)

This reverts commit f070b22355.
This commit is contained in:
Nicolas Dorier
2024-01-18 00:05:50 +09:00
committed by GitHub
parent 3ae1f13323
commit 1d6d146fb2
39 changed files with 127 additions and 79 deletions

View File

@@ -42,6 +42,9 @@ public class UIPayoutProcessorsController : Controller
new PayoutProcessorService.PayoutProcessorQuery() { Stores = new[] { storeId } }))
.GroupBy(data => data.Processor);
var paymentMethods = HttpContext.GetStoreData().GetEnabledPaymentMethods(_btcPayNetworkProvider)
.Select(method => method.PaymentId).ToList();
return View(_payoutProcessorFactories.Select(factory =>
{
var conf = activeProcessors.FirstOrDefault(datas => datas.Key == factory.Processor)