From a633a04604b4419d13efc8387485b1ea2d561066 Mon Sep 17 00:00:00 2001 From: Dan Strelets <59970198+dannleed@users.noreply.github.com> Date: Wed, 7 Aug 2024 10:48:31 +0300 Subject: [PATCH] HCK-7485: fix re api disconnect parameters inconsistency (#140) --- 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)); },