Skip to content

Commit

Permalink
Fixed isAsync params usage for createTopics
Browse files Browse the repository at this point in the history
  • Loading branch information
lamweili authored Jan 3, 2020
1 parent fcc8aef commit 5fd3764
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/baseClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ Client.prototype.createTopics = function (topics, isAsync, cb) {
});
});

if (!isAsync) {
if (isAsync) {
cb(null);
}
};
Expand Down

0 comments on commit 5fd3764

Please sign in to comment.