authentication via username or phones

This commit is contained in:
nurmuhammet committed 2024-09-18 17:43:33 +05:00
1 parent e95797bb97
commit c086feb6c0
10 files changed
+78 -25

No files matched your search

@@ -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()
));
}