mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-19 01:43:50 +01:00
Fix: Activating the automated payout processor in the UI would crash
This commit is contained in:
parent
7ac6cad18c
commit
796d8d4406
@ -30,12 +30,14 @@ public class UIOnChainAutomatedPayoutProcessorsController : Controller
|
||||
EventAggregator eventAggregator,
|
||||
PaymentMethodHandlerDictionary handlers,
|
||||
OnChainAutomatedPayoutSenderFactory onChainAutomatedPayoutSenderFactory,
|
||||
IStringLocalizer stringLocalizer,
|
||||
PayoutProcessorService payoutProcessorService)
|
||||
{
|
||||
_eventAggregator = eventAggregator;
|
||||
_handlers = handlers;
|
||||
_onChainAutomatedPayoutSenderFactory = onChainAutomatedPayoutSenderFactory;
|
||||
_payoutProcessorService = payoutProcessorService;
|
||||
StringLocalizer = stringLocalizer;
|
||||
}
|
||||
PayoutMethodId GetPayoutMethod(string cryptoCode) => PayoutTypes.CHAIN.GetPayoutMethodId(cryptoCode);
|
||||
[HttpGet("~/stores/{storeId}/payout-processors/onchain-automated/{cryptocode}")]
|
||||
|
Loading…
Reference in New Issue
Block a user