From 2f4850680f397c5b6e8b5c8090956f24c29c72a9 Mon Sep 17 00:00:00 2001 From: Richard Shephard Date: Thu, 16 May 2019 17:01:30 +0200 Subject: [PATCH] Fix incorrect variables used after undefined removal --- 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 7af5169..aa7e4c3 100644 --- a/src/projections/projectionsClient.js +++ b/src/projections/projectionsClient.js @@ -103,7 +103,7 @@ ProjectionsClient.prototype.updateQuery = function(httpEndPoint, name, query, us }; ProjectionsClient.prototype.delete = function(httpEndPoint, name, deleteEmittedStreams, deleteStateStream, deleteCheckpointStream, userCredentials) { - return this.sendDelete(httpEndPoint + '/projection/' + name + '?deleteStateStream=' + stateStream + '&deleteCheckpointStream' + checkpointStream + '&deleteEmittedStreams=' + deleteEmittedStreams, '', userCredentials, HTTP_OK); + return this.sendDelete(httpEndPoint + '/projection/' + name + '?deleteStateStream=' + deleteStateStream + '&deleteCheckpointStream' + deleteCheckpointStream + '&deleteEmittedStreams=' + deleteEmittedStreams, '', userCredentials, HTTP_OK); }; ProjectionsClient.prototype.request = function(method, _url, data, userCredentials, expectedCode) {