We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99c70e0 commit 611eb29Copy full SHA for 611eb29
src/WoltClient.php
@@ -33,7 +33,6 @@ public static function create(): static
33
);
34
35
$client->addHeader('WOLT-API-KEY', config('wolt.order_api_key'));
36
- $client->addRouteParameter('baseUrl', $client->baseUrl);
37
38
return $client;
39
}
@@ -50,6 +49,8 @@ public function createPendingRequest(): void
50
49
51
public function prepareRequest(): PendingRequest
52
{
+ $this->addRouteParameter('baseUrl', $this->baseUrl);
53
+
54
return $this->request
55
->withUrlParameters($this->routeParameters)
56
->withHeaders($this->headers)
0 commit comments