Browse Source

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

master
Nicolas Dextraze 3 years ago
parent
commit
6d49f51e7d
  1. 4
      src/projections/projectionsClient.js

4
src/projections/projectionsClient.js

@ -40,7 +40,7 @@ ProjectionsClient.prototype.createTransient = function(httpEndPoint, name, query
};
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) {
@ -168,4 +168,4 @@ ProjectionsClient.prototype.sendDelete = function(_url, data, userCredentials, e
.then(voidResult);
};
module.exports = ProjectionsClient;
module.exports = ProjectionsClient;

Loading…
Cancel
Save