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 007a031 commit 52a3adcCopy full SHA for 52a3adc
src/Client/Api/AbstractApi.php
@@ -12,8 +12,9 @@ abstract class AbstractApi
12
{
13
public function __construct(protected PendingRequest $httpClient)
14
15
- $baseUrl = Config::get('n8n.api.base_url');
16
- $key = Config::get('n8n.api.key');
+ $baseUrl = Config::string('n8n.api.base_url');
+ $key = Config::string('n8n.api.key');
17
+
18
$this->httpClient = $httpClient->baseUrl($baseUrl)->withHeaders([
19
'X-N8N-API-KEY' => $key,
20
'Accept' => 'application/json',
0 commit comments