Skip to content

Commit 8c2018a

Browse files
committed
Fixed retry at BAD_REQUEST
1 parent 5f0cc37 commit 8c2018a

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
* fixed retry at BAD_REQUEST
12
* added credentials authentication
23
* added CI test
34

src/Traits/RequestTrait.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,8 @@ protected function processResponse($service, $method, $response, $resultClass)
229229
$this->last_request_data['session_id'] = $session->id();
230230
}
231231

232+
$this->saveLastRequest($service, $method, $this->last_request_data);
233+
232234
// only 10 retries are allowed!
233235
if ($this->last_request_try_count < 10)
234236
{

0 commit comments

Comments
 (0)