From 6d49f51e7d47a875000e7f7776f25a691d829bf3 Mon Sep 17 00:00:00 2001 From: Nicolas Dextraze Date: Wed, 15 May 2019 10:23:48 -0700 Subject: [PATCH] fix issue #74 - projections manager create continuous trackEmittedStreams parameter should be lowercase --- src/projections/projectionsClient.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/projections/projectionsClient.js b/src/projections/projectionsClient.js index e30d7ae..781694a 100644 --- a/src/projections/projectionsClient.js +++ b/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; \ No newline at end of file +module.exports = ProjectionsClient;