fix issue #74 - projections manager create continuous trackEmittedStreams parameter should be lowercase

This commit is contained in:
Nicolas Dextraze 2019-05-15 10:23:48 -07:00
parent d8baed4c5d
commit 6d49f51e7d

View File

@ -40,7 +40,7 @@ ProjectionsClient.prototype.createTransient = function(httpEndPoint, name, query
}; };
ProjectionsClient.prototype.createContinuous = function(httpEndPoint, name, query, trackEmittedStreams, userCredentials) { ProjectionsClient.prototype.createContinuous = function(httpEndPoint, name, query, trackEmittedStreams, userCredentials) {
return this.sendPost(httpEndPoint + '/projections/continuous?name=' + name + '&type=JS&emit=1&trackEmittedStreams=' + trackEmittedStreams, query, userCredentials, HTTP_CREATED); return this.sendPost(httpEndPoint + '/projections/continuous?name=' + name + '&type=JS&emit=1&trackemittedstreams=' + trackEmittedStreams, query, userCredentials, HTTP_CREATED);
}; };
ProjectionsClient.prototype.listAll = function(httpEndPoint, userCredentials) { ProjectionsClient.prototype.listAll = function(httpEndPoint, userCredentials) {