From 0f7d255a21955944adade104d929fd0d1ec475e7 Mon Sep 17 00:00:00 2001 From: Daniel Lugo Date: Fri, 6 Nov 2020 12:28:02 -0400 Subject: [PATCH] no longer send initial data --- src/routes.js | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/routes.js b/src/routes.js index 9c37421d..db22960a 100644 --- a/src/routes.js +++ b/src/routes.js @@ -708,24 +708,6 @@ module.exports = async ( user: { alias, publicKey - }, - follows: await GunGetters.Follows.currentFollows(), - data: { - invoices: await Common.makePromise((res, rej) => { - lightning.listInvoices( - { - reversed: true, - num_max_invoices: 50 - }, - (err, lres) => { - if (err) { - rej(new Error(err.details)) - } else { - res(lres) - } - } - ) - }) } })