fix code
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
namespace App\Services\CMMS;
|
||||
|
||||
use Exception;
|
||||
use Illuminate\Support\Collection;
|
||||
use Illuminate\Support\Carbon;
|
||||
use Illuminate\Support\Facades\Http;
|
||||
use Illuminate\Support\Facades\Log;
|
||||
|
||||
@@ -54,10 +54,12 @@ class DailyMovingMachinesService
|
||||
|
||||
private function makeInputParameters(): string
|
||||
{
|
||||
$day = Carbon::yesterday()->toDateString();
|
||||
|
||||
return json_encode([
|
||||
"username" => $this->username,
|
||||
"password" => $this->password,
|
||||
"day" => today(),
|
||||
"day" => $day,
|
||||
"minMileage" => 10,
|
||||
]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user