Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
alihardan committed Apr 7, 2024
1 parent dfe5aeb commit 35edac1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/PublicApiController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 35edac1

Please sign in to comment.