Remove unneded argument

This commit is contained in:
Daniel Lugo 2021-12-26 20:28:31 -04:00
parent d6de81370b
commit e47a67acb4

View file

@ -899,7 +899,7 @@ module.exports = async (
app.post('/api/lnd/wallet/existing', async (req, res) => { app.post('/api/lnd/wallet/existing', async (req, res) => {
try { try {
const { password, alias, invite, accessSecret } = req.body const { password, alias, accessSecret } = req.body
const healthResponse = await checkHealth() const healthResponse = await checkHealth()
const exists = await walletExists() const exists = await walletExists()
if (!exists) { if (!exists) {
@ -970,7 +970,7 @@ module.exports = async (
// Generate Access Token // Generate Access Token
const token = await auth.generateToken() const token = await auth.generateToken()
setTimeout(() => { setTimeout(() => {
channelRequest(invite) channelRequest()
}, 30 * 1000) }, 30 * 1000)
res.json({ res.json({
authorization: token, authorization: token,