mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-21 14:04:12 +01:00
Fix: Activating the automated payout processor in the UI would crash
This commit is contained in:
parent
7ac6cad18c
commit
796d8d4406
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue