From eaf1eea1e0b6ebbdcc1f9292756aeb9ce9307d11 Mon Sep 17 00:00:00 2001 From: alihardan Date: Wed, 10 Apr 2024 19:09:24 +0330 Subject: [PATCH] update api --- app/Models/Game.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Models/Game.php b/app/Models/Game.php index 92a4e41..f0765ba 100644 --- a/app/Models/Game.php +++ b/app/Models/Game.php @@ -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 {