From 4bea97df0ce96391c6a20231e6288238eeb36bd5 Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Tue, 29 Nov 2022 21:28:32 +0000 Subject: [PATCH] Fix smallurl attribute on Media --- app/Models/Media.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Media.php b/app/Models/Media.php index 83f13e84..c660225c 100644 --- a/app/Models/Media.php +++ b/app/Models/Media.php @@ -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'),