From a25e1c519b1a46eb054f47aa690733ec299b1ded Mon Sep 17 00:00:00 2001 From: Danylo Strelets Date: Thu, 1 Aug 2024 15:35:42 +0300 Subject: [PATCH] HCK-7485: fix re api disconnect parameters inconsistency --- reverse_engineering/api.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reverse_engineering/api.js b/reverse_engineering/api.js index fa69ce5..8900c26 100644 --- a/reverse_engineering/api.js +++ b/reverse_engineering/api.js @@ -62,7 +62,7 @@ module.exports = { } }, - disconnect: function (connectionInfo, cb, app) { + disconnect: function (connectionInfo, logger, cb, app) { cassandraHelper(app.require('lodash')).close(app); cb(); }, @@ -80,7 +80,7 @@ module.exports = { logger.log('info', 'Connection successful', 'Test connection'); } - this.disconnect(connectionInfo, () => {}, app); + this.disconnect(connectionInfo, logger, () => {}, app); return cb(cassandraHelper(app.require('lodash')).prepareError(error)); },