Skip to content

Commit

Permalink
chaperone conversions
Browse files Browse the repository at this point in the history
  • Loading branch information
QuentinGab committed Jan 11, 2025
1 parent 60b4bef commit 2d7dc6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Models/Media.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 ----------------------------------------------------------
Expand Down

0 comments on commit 2d7dc6d

Please sign in to comment.