Fix smallurl attribute on Media

This commit is contained in:
Jonny Barnes 2022-11-29 21:28:32 +00:00
parent 44518e6e51
commit 4bea97df0c
Signed by: jonny
SSH key fingerprint: SHA256:CTuSlns5U7qlD9jqHvtnVmfYV3Zwl2Z7WnJ4/dqOaL8

View file

@ -58,7 +58,7 @@ class Media extends Model
);
}
protected function smallmurl(): Attribute
protected function smallurl(): Attribute
{
return Attribute::get(
get: fn ($value, $attributes) => $this->getSizeUrl($attributes['path'], 'small'),