authentication via username or phones
This commit is contained in:
@@ -16,7 +16,7 @@ class LoanOrderController extends Controller
|
||||
public function index(Request $request)
|
||||
{
|
||||
return response()->json(LoanOrderIndexResource::collection(
|
||||
LoanOrder::query()->paginate()
|
||||
LoanOrder::query()->where('user_id', auth()->id())->paginate()
|
||||
));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user