This commit is contained in:
Anthony Potdevin 2022-04-03 23:38:31 +02:00
commit ccbc1814f6
No known key found for this signature in database
GPG key ID: 4403F1DFBE779457
2 changed files with 4 additions and 3 deletions

View file

@ -139,7 +139,7 @@ export const Pay: React.FC<PayProps> = ({ 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))}
/>
<Separation />
<ColorButton

View file

@ -119,13 +119,14 @@ export class InvoicesResolver {
@Args('max_fee') max_fee: number,
@Args('max_paths') max_paths: number,
@Args('request') request: string,
@Args('out', { nullable: true, type: () => [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);