mirror of
https://github.com/v2board/v2board.git
synced 2025-01-25 23:49:09 +08:00
fix: hidden order fetch params
This commit is contained in:
parent
9c04f75b85
commit
58b27cdd50
@ -40,7 +40,7 @@ class OrderController extends Controller
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
return response([
|
return response([
|
||||||
'data' => $order
|
'data' => $order->makeHidden(['id', 'user_id'])
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user