|
|
@@ -60,7 +60,7 @@ class NewsParagraph extends Model
|
|
60
|
60
|
protected function paragraphVideoUrl(): Attribute
|
|
61
|
61
|
{
|
|
62
|
62
|
return Attribute::make(
|
|
63
|
|
- get: fn ($value) => ($this->video_type == 2) ? Storage::disk('public')->url($this->video_url) : $this->attributes["link"],
|
|
|
63
|
+ get: fn ($value) => ($this->video_type == 2) ? Storage::disk('public')->url($this->video_url) : $this->link,
|
|
64
|
64
|
);
|
|
65
|
65
|
}
|
|
66
|
66
|
}
|