Actually fetch the incomplete papramter from the request body

This commit is contained in:
Daniel Lugo 2022-01-29 15:34:20 -05:00
parent 449bba1913
commit 6d9bff23c0

View file

@ -1189,7 +1189,7 @@ module.exports = async (
lightning.listPayments(
{
// TODO
include_incomplete: !!req.include_incomplete
include_incomplete: !!req.body.include_incomplete
},
(err, { payments = [] } = {}) => {
if (err) {