padre
commit
edd67f6d3d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      app/Models/NewsParagraph.php

+ 1
- 1
app/Models/NewsParagraph.php Ver fichero

@@ -27,7 +27,7 @@ class NewsParagraph extends Model
27 27
     protected function paragraphImg(): Attribute
28 28
     {
29 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