fix: hidden order fetch params

This commit is contained in:
tokumeikoi 2021-04-15 22:41:29 +09:00
parent 9c04f75b85
commit 58b27cdd50

View File

@ -40,7 +40,7 @@ class OrderController extends Controller
}
}
return response([
'data' => $order
'data' => $order->makeHidden(['id', 'user_id'])
]);
}