Skip to content

A self-hosted media server and file management system

chore: pint

aminnausindfea46f4a5b7
diff --git a/app/Services/Images/ImageService.php b/app/Services/Images/ImageService.php
index 6385cef7..dac9a218 100644
--- a/app/Services/Images/ImageService.php
+++ b/app/Services/Images/ImageService.php
@@ -147,14 +147,13 @@ class ImageService {
}
public function downloadFromUrl(string $url, Model $owner, ImageType $imageType, ?int $userId = null): ?Image {
- $debugInfo = ['url' => $url, 'owner' => $owner::class, "id" => $owner->id, "uuid" => $owner->uuid ?? $owner->getKey()];
+ $debugInfo = ['url' => $url, 'owner' => $owner::class, 'id' => $owner->id, 'uuid' => $owner->uuid ?? $owner->getKey()];
try {
$fmt = 'webp';
[$relativeOutputPath, $absoluteOutputPath] = $this->resolvePath($owner, $imageType, $fmt);
-
$response = Http::get($url);
if (! $response->successful()) {