From 425f90ebe78fb51c4f57cc00e2a11ede57f285ed Mon Sep 17 00:00:00 2001 From: Gennady Date: Fri, 1 Feb 2019 01:09:55 +0300 Subject: [PATCH] Recreate Request object on request retry (#103) --- src/platform/Platform.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/Platform.js b/src/platform/Platform.js index 303ff637..65ccf26c 100644 --- a/src/platform/Platform.js +++ b/src/platform/Platform.js @@ -569,7 +569,7 @@ Platform.prototype.sendRequest = function(request, options) { } return this.delay(retryAfter).then(function() { - return this.sendRequest(request, options); + return this.sendRequest(this._client.createRequest(options), options); }.bind(this)); }.bind(this));