no longer send initial data
This commit is contained in:
parent
b8bd7daa6e
commit
0f7d255a21
1 changed files with 0 additions and 18 deletions
|
|
@ -708,24 +708,6 @@ module.exports = async (
|
||||||
user: {
|
user: {
|
||||||
alias,
|
alias,
|
||||||
publicKey
|
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)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
)
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue