diff --git a/app/Helpers/helpers.php b/app/Helpers/helpers.php index 66eaeb2..7398d38 100644 --- a/app/Helpers/helpers.php +++ b/app/Helpers/helpers.php @@ -582,11 +582,11 @@ function syncWithAzatAPI(SberPaymentOrderItem $orderItem): array } $orderItem->update([ - 'synced_with_system' => $success ? true : false, + 'synced_with_system' => true, ]); return [ - 'success' => $success, + 'success' => true, 'type' => 'modal', ]; }