From 12ec80c5e0e5daf4c52013a3a4dc03b9b851fa83 Mon Sep 17 00:00:00 2001 From: Mayank Date: Wed, 24 Jun 2020 19:47:10 +0530 Subject: [PATCH] Better name --- routes/v1/lnd/util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/v1/lnd/util.js b/routes/v1/lnd/util.js index bd35086..f2a4d56 100644 --- a/routes/v1/lnd/util.js +++ b/routes/v1/lnd/util.js @@ -10,7 +10,7 @@ router.post('/backup', auth.jwt, safeHandler((req, res) => .then(response => res.json(response)) )); -router.get('/channel-backup', auth.jwt, safeHandler((req, res) => +router.get('/download-channel-backup', auth.jwt, safeHandler((req, res) => applicationLogic.lndChannnelBackup() .then(backupFile => res.download(backupFile, 'channel.backup')) ));