From 5bb17f3729a1a6a1279c946eb48b164e0fd3a9e2 Mon Sep 17 00:00:00 2001 From: windka Date: Tue, 30 Jan 2024 21:59:26 +0100 Subject: [PATCH] lint --- telegrambot/99-telegrambot.js | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/telegrambot/99-telegrambot.js b/telegrambot/99-telegrambot.js index e88220c..955dfa7 100644 --- a/telegrambot/99-telegrambot.js +++ b/telegrambot/99-telegrambot.js @@ -2179,14 +2179,15 @@ module.exports = function (RED) { node.processError(ex, msg, nodeSend, nodeDone); }) .then(function (result) { - telegramBot.getFileLink(fileId) - .catch(function (ex) { - node.processError(ex, msg, nodeSend, nodeDone); - }) - .then(function (weblink) { - msg.weblink = weblink; - node.processResult(result, msg, nodeSend, nodeDone); - }); + telegramBot + .getFileLink(fileId) + .catch(function (ex) { + node.processError(ex, msg, nodeSend, nodeDone); + }) + .then(function (weblink) { + msg.weblink = weblink; + node.processResult(result, msg, nodeSend, nodeDone); + }); }); } else { if (msg.payload.type) {