Set content type

This commit is contained in:
Lance Pioch 2024-03-23 12:31:31 -04:00
parent f795b38db5
commit 675c289780

View File

@ -56,6 +56,7 @@ class AppServiceProvider extends ServiceProvider
Http::macro(
'daemon',
fn (Node $node, array $headers = []) => Http::acceptJson()
->asJson()
->withToken($node->getDecryptedKey())
->withHeaders($headers)
->withOptions(['verify' => (bool) app()->environment('production')])