Fix uri for reset

This commit is contained in:
Richard Shephard 2019-05-16 16:52:11 +02:00
parent ad8d16d112
commit 8e54a22cd2

View File

@ -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) {