parent
commit
edd67f6d3d
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      app/Models/NewsParagraph.php

+ 1
- 1
app/Models/NewsParagraph.php View File

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