Skip to content

Commit

Permalink
Merge pull request #96 from TryV/main
Browse files Browse the repository at this point in the history
fix: remove null items while authentication is not specified
  • Loading branch information
tomirons committed Mar 28, 2024
2 parents c4055d9 + 6c9116f commit dd797eb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Processors/RouteProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ protected function processRequest(string $method, Stringable $uri, Collection $r
'method' => strtoupper($method),
'header' => collect($this->config['headers'])
->push($this->authentication?->toArray())
->filter()
->values()
->all(),
'url' => [
'raw' => '{{base_url}}/'.$uri,
Expand Down

0 comments on commit dd797eb

Please sign in to comment.