Fix smallurl attribute on Media
This commit is contained in:
parent
44518e6e51
commit
4bea97df0c
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ class Media extends Model
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function smallmurl(): Attribute
|
protected function smallurl(): Attribute
|
||||||
{
|
{
|
||||||
return Attribute::get(
|
return Attribute::get(
|
||||||
get: fn ($value, $attributes) => $this->getSizeUrl($attributes['path'], 'small'),
|
get: fn ($value, $attributes) => $this->getSizeUrl($attributes['path'], 'small'),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue