From 2d7dc6d1207229a3a20d0f8a0fe40bdf777cd76d Mon Sep 17 00:00:00 2001 From: Quentin Gabriele Date: Sat, 11 Jan 2025 15:38:59 +0100 Subject: [PATCH] chaperone conversions --- src/Models/Media.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Models/Media.php b/src/Models/Media.php index f4c682d..6a4aca4 100644 --- a/src/Models/Media.php +++ b/src/Models/Media.php @@ -114,7 +114,7 @@ public function model(): MorphTo */ public function conversions(): HasMany { - return $this->hasMany(MediaConversion::class); + return $this->hasMany(MediaConversion::class)->chaperone(); } // Storing File ----------------------------------------------------------