From 58b27cdd50579d392908f499f832a12453863da1 Mon Sep 17 00:00:00 2001 From: tokumeikoi Date: Thu, 15 Apr 2021 22:41:29 +0900 Subject: [PATCH] fix: hidden order fetch params --- app/Http/Controllers/User/OrderController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']) ]); }