diff --git a/app/Models/SkinChroma.php b/app/Models/SkinChroma.php index 95b7eaa..951fbec 100644 --- a/app/Models/SkinChroma.php +++ b/app/Models/SkinChroma.php @@ -17,6 +17,10 @@ class SkinChroma extends Model 'chroma_image', ]; + protected $casts = [ + 'chroma_colors' => 'array', + ]; + public function skin() { return $this->belongsTo(Skin::class);