From 86b4491060a7c46e95154d16c1d70d88b056dce0 Mon Sep 17 00:00:00 2001 From: Danylo Strelets Date: Thu, 1 Aug 2024 15:32:30 +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 e10c3c5..ea79bd9 100644 --- a/reverse_engineering/api.js +++ b/reverse_engineering/api.js @@ -61,7 +61,7 @@ module.exports = { } }, - disconnect: function (connectionInfo, cb, app) { + disconnect: function (connectionInfo, logger, cb, app) { cassandraHelper(app.require('lodash')).close(app); cb(); }, @@ -79,7 +79,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)); },