This commit is contained in:
nurmuhammet committed 2025-06-03 15:04:15 +05:00
1 parent be1c72e3e2
commit 442cdb1ec9
1 file changed
+4
@@ -75,6 +75,10 @@ public function fetchApi($model)
end_date: $date,
);
info([
'response' => $response
]);
return Str::isJson($response)
? json_decode($response)
: emptyClass(errCode: 1, message: 'Connection issue to VP');