diff --git a/src/client/src/views/home/account/pay/Pay.tsx b/src/client/src/views/home/account/pay/Pay.tsx index d040d570..719d7601 100644 --- a/src/client/src/views/home/account/pay/Pay.tsx +++ b/src/client/src/views/home/account/pay/Pay.tsx @@ -139,7 +139,7 @@ export const Pay: React.FC = ({ predefinedRequest, payCallback }) => { title={'Out Channels'} isMulti={true} maxWidth={'300px'} - callback={p => setPeers(p.map(peer => peer.partner_public_key))} + callback={p => setPeers(p.map(peer => peer.id))} /> [String] }) out: string[] + @Args('out', { nullable: true, type: () => [String] }) + outgoing_channels: string[] ) { const props = { max_fee, max_paths, request, - out, + outgoing_channels, }; this.logger.debug('Paying invoice with params', props);