Skip to content

Commit

Permalink
fix: remove this
Browse files Browse the repository at this point in the history
  • Loading branch information
tam5 committed Oct 18, 2021
1 parent a765d4d commit cd4c785
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ $liveIntent = new \LiveIntent\LiveIntentClient([
'tries' => 3, // number of retries per request
'timeout' => 10, // number of seconds to wait on a response before hangup
'retryDelay' => 10, // number of seconds to wait between retries
'baseUrl' => 'localhost:1234', // base url of the api
'base_url' => 'localhost:1234', // base url of the api
'recordingsFilepath' => '/tmp/snapshotfile', // filepath where test snapshots should be saved (see Testing)
'guzzleOptions' => [], // additional guzzle options see (https://docs.guzzlephp.org/en/stable/request-options.html)
]);
Expand Down
2 changes: 0 additions & 2 deletions src/Services/BaseService.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ protected function newPendingRequest()
collect(data_get($this->options, 'middleware'))->each(
fn ($middleware) => $request->withMiddleware($middleware)
);

$request->withMiddleware(fn () => $this->pendingRequest = null);
});

return $request
Expand Down

0 comments on commit cd4c785

Please sign in to comment.