Skip to content

Commit 992b7f4

Browse files
committed
Add WOLT-API-KEY header to requests
1 parent 6f78d62 commit 992b7f4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/WoltClient.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ public static function create(): static
3232
: config('wolt.production_url')
3333
);
3434

35+
$client->addHeader('WOLT-API-KEY', config('wolt.order_api_key'));
36+
3537
return $client;
3638
}
3739

0 commit comments

Comments
 (0)