Skip to content

Commit

Permalink
fixes the base url config fetching
Browse files Browse the repository at this point in the history
  • Loading branch information
DrH97 committed Dec 28, 2023
1 parent 1c7c327 commit ef46faf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Library/Endpoints.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ private static function getUrl(string $suffix, array|null $params = null): strin
$defaultUrl = config('tanda.sandbox') ? $defaultSandboxUrl : $defaultProductionUrl;

$baseEndpoint = rtrim(
config('tanda.base.url') ?? $defaultUrl,
config('tanda.urls.base') ?? $defaultUrl,
'/'
);

Expand Down

0 comments on commit ef46faf

Please sign in to comment.