From e0e2f39b914659087bc979910f7361225b076bc8 Mon Sep 17 00:00:00 2001 From: salam Date: Wed, 14 Jan 2026 19:44:42 +0100 Subject: [PATCH] wip --- app/Console/Commands/Grapper/Logifuture/Auth.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Console/Commands/Grapper/Logifuture/Auth.php b/app/Console/Commands/Grapper/Logifuture/Auth.php index 66f85002..01073fe1 100644 --- a/app/Console/Commands/Grapper/Logifuture/Auth.php +++ b/app/Console/Commands/Grapper/Logifuture/Auth.php @@ -35,10 +35,10 @@ class Auth curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($ch, CURLOPT_POST, true); - curl_setopt($ch, CURLOPT_POSTFIELDS, [ + curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode([ 'username' => 'nuhodds', 'password' => self::$password, - ]); + ])); curl_setopt($ch, CURLOPT_HTTPHEADER, [ 'accept: application/json', 'content-type: application/json',