From e81520e68a62e37c81e0f96c026d2322cd8af4f8 Mon Sep 17 00:00:00 2001 From: joddyabott Date: Sat, 27 Sep 2025 14:30:41 +0330 Subject: [PATCH] change model for accident --- app/Models/Accident.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)