From 8e54a22cd24b60c360cfd54d4951d9e4166faf7c Mon Sep 17 00:00:00 2001 From: Richard Shephard Date: Thu, 16 May 2019 16:52:11 +0200 Subject: [PATCH] Fix uri for reset --- src/projections/projectionsClient.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/projections/projectionsClient.js b/src/projections/projectionsClient.js index 4657b88..6b569ee 100644 --- a/src/projections/projectionsClient.js +++ b/src/projections/projectionsClient.js @@ -32,7 +32,7 @@ ProjectionsClient.prototype.abort = function(httpEndPoint, name, userCredentials }; ProjectionsClient.prototype.reset = function(httpEndPoint, name, userCredentials) { - return this.sendPost(httpEndPoint + '/projection/' + name + 'command/reset', userCredentials, HTTP_OK); + return this.sendPost(httpEndPoint + '/projection/' + name + '/command/reset', '', userCredentials, HTTP_OK); }; ProjectionsClient.prototype.createOneTime = function(httpEndPoint, query, userCredentials) {