diff --git a/app/Http/Controllers/User/OrderController.php b/app/Http/Controllers/User/OrderController.php index b9e68378..f8e82387 100755 --- a/app/Http/Controllers/User/OrderController.php +++ b/app/Http/Controllers/User/OrderController.php @@ -40,7 +40,7 @@ class OrderController extends Controller } } return response([ - 'data' => $order + 'data' => $order->makeHidden(['id', 'user_id']) ]); }