From e04ceac80ee0498c79d7c8ee20c0ce8363b000b7 Mon Sep 17 00:00:00 2001 From: merdan Date: Tue, 11 May 2021 14:47:33 +0500 Subject: [PATCH] api --- .../apigenerator/controllers/api/postsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/ahmadfatoni/apigenerator/controllers/api/postsController.php b/plugins/ahmadfatoni/apigenerator/controllers/api/postsController.php index 1e8ea83f1..24f255e83 100644 --- a/plugins/ahmadfatoni/apigenerator/controllers/api/postsController.php +++ b/plugins/ahmadfatoni/apigenerator/controllers/api/postsController.php @@ -34,7 +34,7 @@ class postsController extends Controller return $this->helpers->apiArrayResponseBuilder(200, 'success', $data); } - public function show($id){ + public function show($locale,$id){ $data = $this->Post::with('categories')->find($id);