From 52f707031162732e855b59e7a707b8cc5e38135f Mon Sep 17 00:00:00 2001 From: James Collins Date: Fri, 29 Sep 2023 17:03:11 +1000 Subject: [PATCH] bad comma --- 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 9853968..209ead9 100644 --- a/app/Models/Media.php +++ b/app/Models/Media.php @@ -818,7 +818,7 @@ class Media extends Model $fileSystem->putFileAs('/', new SplFileInfo($tempImagePath), $newFilename); unlink($tempImagePath); - $this->thumbnail = $this->getUrlPath(['name', $newFilename]); + $this->thumbnail = $this->getUrlPath(['name' => $newFilename]); } else { $iconExtension = 'unknown'; if ($fileExtension !== '') {