From 6d9bff23c0427d8e61381fdbf29b51726b36b927 Mon Sep 17 00:00:00 2001 From: Daniel Lugo Date: Sat, 29 Jan 2022 15:34:20 -0500 Subject: [PATCH] Actually fetch the incomplete papramter from the request body --- src/routes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes.js b/src/routes.js index 42df908d..76037045 100644 --- a/src/routes.js +++ b/src/routes.js @@ -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) {