Fix incorrect variables used after undefined removal

This commit is contained in:
Richard Shephard 2019-05-16 17:01:30 +02:00
parent 8f68923008
commit 2f4850680f

View File

@ -103,7 +103,7 @@ ProjectionsClient.prototype.updateQuery = function(httpEndPoint, name, query, us
}; };
ProjectionsClient.prototype.delete = function(httpEndPoint, name, deleteEmittedStreams, deleteStateStream, deleteCheckpointStream, userCredentials) { 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) { ProjectionsClient.prototype.request = function(method, _url, data, userCredentials, expectedCode) {