CodeCommitAccess+1-at-632418466995 пре 6 месеци
родитељ
комит
edd67f6d3d
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      app/Models/NewsParagraph.php

+ 1
- 1
app/Models/NewsParagraph.php Прегледај датотеку

27
     protected function paragraphImg(): Attribute
27
     protected function paragraphImg(): Attribute
28
     {
28
     {
29
         return Attribute::make(
29
         return Attribute::make(
30
-            get: fn ($value) => is_null($this->image_url) ? null :Storage::url($this->image_url),
30
+            get: fn ($value) => is_null($this->img_url) ? null :Storage::url($this->img_url),
31
         );
31
         );
32
     }
32
     }
33
 
33