Closed andymcollins closed 8 years ago
When i run
ESMongoSync.init("mongodb://localhost:27017/db","localhost:9200", finalCallBack, watcherArray, batchCount);
i get this error throw new TypeError("Parameter 'url' must be a string, not " + typeof url);
@andymcollins, it is a bug when trying to connect to mongoDB using only environment variables, instead of checking if the mongo url is set in init().It has been fixed in PR #3
Great Thank you
When i run
ESMongoSync.init("mongodb://localhost:27017/db","localhost:9200", finalCallBack, watcherArray, batchCount);
i get this error throw new TypeError("Parameter 'url' must be a string, not " + typeof url);