Skip to content
This repository has been archived by the owner on Oct 19, 2021. It is now read-only.

Commit

Permalink
ptarmapi: rename listpayment -> listpayments
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiroki Gondo authored and nayuta-gondo committed Apr 30, 2019
1 parent 8c170e8 commit b99b056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ptarmapi/src/ptarmigan/ptarmigan.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export class PtarmiganController {
return await this.ptarmiganService.requestTCP('routepay', [dto.bolt11, dto.addAmountMsat]);
}

@Post('listpayment') // listpayment -> listpayments
@Post('listpayments') // listpayment -> listpayments
async executeListPaymentState() {
return await this.ptarmiganService.requestTCP('listpayment', []);
}
Expand Down

0 comments on commit b99b056

Please sign in to comment.