This commit is contained in:
nurmuhammet committed 2025-06-03 14:02:44 +05:00
1 parent 6cbb54c74b
commit 8d0b21aee1
1 file changed
+4 -4
@@ -43,10 +43,6 @@ public function handle(ActionFields $fields, Collection $models)
return ActionResponse::danger($data->message);
}
info([
'data' => $data,
]);
// return Action::modal('modal-response', [
// 'title' => __('Card balance'),
// 'html' => Blade::render(
@@ -103,6 +99,10 @@ public function fetchApi($model): object
curl_close($curl);
info([
'response' => $response,
]);
return Str::isJson($response)
? json_decode($response)
: emptyClass(errCode: 1, message: 'Connection issue to VP');