From 5fd3764ad8a2628e675bc05c4b6268edffd0dc26 Mon Sep 17 00:00:00 2001 From: peteriman Date: Fri, 3 Jan 2020 20:17:43 +0800 Subject: [PATCH] Fixed isAsync params usage for createTopics --- lib/baseClient.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/baseClient.js b/lib/baseClient.js index 1c2ba246..31c7f76a 100644 --- a/lib/baseClient.js +++ b/lib/baseClient.js @@ -299,7 +299,7 @@ Client.prototype.createTopics = function (topics, isAsync, cb) { }); }); - if (!isAsync) { + if (isAsync) { cb(null); } };