diff --git a/src/Controller/CustomerAppAPI/LoyaltyController.php b/src/Controller/CustomerAppAPI/LoyaltyController.php index 6b58ed2a..30f97562 100644 --- a/src/Controller/CustomerAppAPI/LoyaltyController.php +++ b/src/Controller/CustomerAppAPI/LoyaltyController.php @@ -24,8 +24,6 @@ class LoyaltyController extends ApiController } // response - return new ApiResponse(true, '', [ - $result['response']['data'], - ]); + return new ApiResponse(true, '', $result['response']['data']); } }