Skip to content

A self-hosted media server and file management system

pint

aminnausinb87e04913cbc
diff --git a/app/Jobs/VerifyFolders.php b/app/Jobs/VerifyFolders.php
index 452c63d9..a30da7c0 100644
--- a/app/Jobs/VerifyFolders.php
+++ b/app/Jobs/VerifyFolders.php
@@ -157,10 +157,11 @@ class VerifyFolders implements ShouldQueue {
$imageContent = $response->body();
$path = 'thumbnails/' . $compositePath . '.webp';
Storage::disk('public')->put($path, $imageContent);
+
return VerifyFiles::getPathUrl($path);
}
} catch (\Throwable $th) {
- //throw $th;
+ // throw $th;
Log::error('Unable to download thumbnail image from ' . $url . ' : ' . $th->getMessage());
}