From f9f7c9ec36325c763d8ab86b2a6848a4359af05b Mon Sep 17 00:00:00 2001 From: alihardan Date: Sat, 6 Apr 2024 04:45:45 +0330 Subject: [PATCH] . --- app/Http/Controllers/PublicApiController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/PublicApiController.php b/app/Http/Controllers/PublicApiController.php index 362a4a0..9200f9e 100644 --- a/app/Http/Controllers/PublicApiController.php +++ b/app/Http/Controllers/PublicApiController.php @@ -62,7 +62,7 @@ public function game($slug) public function items(Request $request) { - return Item::latest()->with(['producers:title_fa,title_en', 'publishers:title_fa,title_en'])->get(['id', 'slug', 'title_fa', 'title_en', 'release_dates']); + return Item::latest()->with(['producers:title_fa,title_en', 'publishers:title_fa,title_en'])->get(['slug', 'title_fa', 'title_en', 'release_dates']); } public function item($slug)