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) => {
try {
const { password, alias, invite, accessSecret } = req.body
const { password, alias, accessSecret } = req.body
const healthResponse = await checkHealth()
const exists = await walletExists()
if (!exists) {
@ -970,7 +970,7 @@ module.exports = async (
// Generate Access Token
const token = await auth.generateToken()
setTimeout(() => {
channelRequest(invite)
channelRequest()
}, 30 * 1000)
res.json({
authorization: token,