Skip to content

Commit 5fd3764

Browse files
authored
Fixed isAsync params usage for createTopics
1 parent fcc8aef commit 5fd3764

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/baseClient.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ Client.prototype.createTopics = function (topics, isAsync, cb) {
299299
});
300300
});
301301

302-
if (!isAsync) {
302+
if (isAsync) {
303303
cb(null);
304304
}
305305
};

0 commit comments

Comments
 (0)