Skip to content

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasz-falda authored Sep 12, 2024
2 parents bf40ffb + 1d23183 commit 3a0590c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/vendor/
\.php-cs-fixer\.cache
*.cache
.phpunit.result.cache
composer.lock
/.idea
2 changes: 1 addition & 1 deletion src/Client/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function __construct(
) {
$this->client = $client ?? new GuzzleClient(
[
'base_uri' => $this->configProvider->baseUrl,
'base_uri' => rtrim($this->configProvider->baseUrl, '/') . '/',
'timeout' => self::TIMEOUT,
'connect_timeout' => self::CONNECTION_TIMEOUT
]
Expand Down
2 changes: 1 addition & 1 deletion src/Request/FindPointsRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

class FindPointsRequest implements Request
{
private const ENDPOINT = '/points';
private const ENDPOINT = 'points';
private const HTTP_METHOD = 'GET';

private array $searchCriteria;
Expand Down

0 comments on commit 3a0590c

Please sign in to comment.