wip
This commit is contained in:
@@ -466,7 +466,7 @@ function syncWithBankSystem(
|
|||||||
try {
|
try {
|
||||||
$res = $client->sendAsync($request)->wait();
|
$res = $client->sendAsync($request)->wait();
|
||||||
|
|
||||||
return $res->getBody();
|
return (string) $res->getBody();
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
Log::error($e);
|
Log::error($e);
|
||||||
|
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ class SyncWithSystem extends Action
|
|||||||
|
|
||||||
info(['response' => $systemRawResponse]);
|
info(['response' => $systemRawResponse]);
|
||||||
|
|
||||||
return ActionResponse::success('Sync with system success');
|
return ActionResponse::message('Sync with system success');
|
||||||
|
|
||||||
// $systemResponse = json_decode($systemRawResponse);
|
// $systemResponse = json_decode($systemRawResponse);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user