Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Naoray committed Nov 26, 2024
1 parent f2f9fcf commit f842f91
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/MollieApiClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
use Mollie\Api\EndpointCollection\SubscriptionPaymentEndpointCollection;
use Mollie\Api\EndpointCollection\TerminalEndpointCollection;
use Mollie\Api\EndpointCollection\WalletEndpointCollection;
use Mollie\Api\Helpers\Url;
use Mollie\Api\Http\Adapter\MollieHttpAdapterPicker;
use Mollie\Api\Idempotency\DefaultIdempotencyKeyGenerator;
use Mollie\Api\Resources\BalanceTransactionCollection;
Expand Down Expand Up @@ -166,7 +167,7 @@ public function getHttpClient(): HttpAdapterContract

public function resolveBaseUrl(): string
{
return rtrim($this->apiEndpoint, '/').'/'.self::API_VERSION;
return Url::join($this->apiEndpoint, self::API_VERSION);
}

public function __serialize(): array
Expand Down

0 comments on commit f842f91

Please sign in to comment.