Skip to content

Commit

Permalink
Recreate Request object on request retry (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
rinfex-holfer authored and kirill-konshin committed Jan 31, 2019
1 parent 07c3586 commit 425f90e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/Platform.js
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 425f90e

Please sign in to comment.