Skip to content

Commit

Permalink
update api
Browse files Browse the repository at this point in the history
  • Loading branch information
alihardan committed Apr 10, 2024
1 parent 35edac1 commit eaf1eea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/Models/Game.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ class Game extends Model implements HasMedia
'id', 'created_at', 'updated_at'
];
protected $appends = ['featured_image'];
protected $hidden = ['media'];

protected function casts(): array
{
Expand Down

0 comments on commit eaf1eea

Please sign in to comment.