From 35edac1c514e315033545a63f456c9d1bb8dc727 Mon Sep 17 00:00:00 2001 From: alihardan Date: Sun, 7 Apr 2024 14:57:12 +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 9200f9e..362a4a0 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(['slug', 'title_fa', 'title_en', 'release_dates']); + return Item::latest()->with(['producers:title_fa,title_en', 'publishers:title_fa,title_en'])->get(['id', 'slug', 'title_fa', 'title_en', 'release_dates']); } public function item($slug)