From 09552234c91c4a1178d161f2048c01b84107b3c3 Mon Sep 17 00:00:00 2001 From: hellcat Date: Mon, 9 Mar 2026 18:16:08 +0800 Subject: [PATCH] no message --- app/Http/Controllers/Api/v1/ArticlesController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Api/v1/ArticlesController.php b/app/Http/Controllers/Api/v1/ArticlesController.php index 0f0f4d98..6c3ac6e1 100755 --- a/app/Http/Controllers/Api/v1/ArticlesController.php +++ b/app/Http/Controllers/Api/v1/ArticlesController.php @@ -27,7 +27,7 @@ public function find(Request $oRequest) $oArticle = Articles::where("iCategoryId", $iCategoryId)->orderBy("id", "desc")->first(); } - return response()->json($oArticle->toArray()); + return response()->json($oArticle); } public function receiveFreenode(Request $oRequest)