diff --git a/app/Models/Accident.php b/app/Models/Accident.php index f9ef31e5..48479339 100644 --- a/app/Models/Accident.php +++ b/app/Models/Accident.php @@ -134,7 +134,7 @@ class Accident extends Model ); } - protected function depositIdaghiImage(): Attribute + protected function depositDaghiImage(): Attribute { return Attribute::make( get: fn($value) => $value == null ? null : Storage::disk('public')->url($value)