Skip to content

Commit c5c6963

Browse files
Merge pull request #118 from bharathkontham/master
Release 1.2.1
2 parents 6a5c6c2 + 2c2b2b6 commit c5c6963

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/esConnector.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ ESConnector.prototype.connect = function (callback) {
134134
})
135135
.catch(function (err) {
136136
log('ESConnector.prototype.connect', 'setupMappings', 'failed', err);
137-
callback && callback(err);
137+
callback && callback(null, self.db);
138138
});
139139
} else {
140140
process.nextTick(function () {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "loopback-connector-esv6",
3-
"version": "1.2.1",
3+
"version": "1.2.2",
44
"description": "LoopBack Connector for Elasticsearch 6.x",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)