wip
This commit is contained in:
@@ -43,10 +43,6 @@ class DownloadCardBalance extends Action
|
||||
return ActionResponse::danger($data->message);
|
||||
}
|
||||
|
||||
info([
|
||||
'data' => $data,
|
||||
]);
|
||||
|
||||
// return Action::modal('modal-response', [
|
||||
// 'title' => __('Card balance'),
|
||||
// 'html' => Blade::render(
|
||||
@@ -103,6 +99,10 @@ class DownloadCardBalance extends Action
|
||||
|
||||
curl_close($curl);
|
||||
|
||||
info([
|
||||
'response' => $response,
|
||||
]);
|
||||
|
||||
return Str::isJson($response)
|
||||
? json_decode($response)
|
||||
: emptyClass(errCode: 1, message: 'Connection issue to VP');
|
||||
|
||||
Reference in New Issue
Block a user