minor updates for headers
This commit is contained in:
parent
01e49d20ad
commit
bfb5d95569
|
|
@ -21,6 +21,7 @@ class NinjaPdf
|
|||
{
|
||||
$client = new \GuzzleHttp\Client(['headers' => [
|
||||
'X-Ninja-Token' => 'test_token_for_now',
|
||||
'X-URL' => config('ninja.app_url'),
|
||||
],
|
||||
]);
|
||||
|
||||
|
|
@ -28,6 +29,9 @@ class NinjaPdf
|
|||
RequestOptions::JSON => ['html' => $html],
|
||||
]);
|
||||
|
||||
|
||||
return $response->getBody()->getContents();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue