diff --git a/app/Nova/Actions/Sber/SyncWithSystem.php b/app/Nova/Actions/Sber/SyncWithSystem.php index 635312b..72baba5 100644 --- a/app/Nova/Actions/Sber/SyncWithSystem.php +++ b/app/Nova/Actions/Sber/SyncWithSystem.php @@ -34,7 +34,7 @@ class SyncWithSystem extends Action /** @var \App\Modules\SberPaymentOrder\Models\SberPaymentOrderItem $orderItem */ $orderItem = $models->first(); - syncWithAzatAPI($orderItem); + $result = syncWithAzatAPI($orderItem); if (isset($result['error'])) { return $this->handleError($result);