fix model
This commit is contained in:
@@ -48,7 +48,7 @@ class SafetyAndPrivacy extends Model
|
||||
'supervisor_id',
|
||||
'finish_picture',
|
||||
'evidence_picture',
|
||||
'recognize_picture_2',
|
||||
'recognize_picture_second',
|
||||
];
|
||||
|
||||
public $table = "safety_and_privacy";
|
||||
@@ -99,7 +99,7 @@ class SafetyAndPrivacy extends Model
|
||||
);
|
||||
}
|
||||
|
||||
protected function recognizePicture2(): Attribute
|
||||
protected function recognize_picture_second(): Attribute
|
||||
{
|
||||
return Attribute::make(
|
||||
get: fn($value) => $value == null ? null : Storage::disk('public')->url($value)
|
||||
|
||||
Reference in New Issue
Block a user