Skip to content

A self-hosted media server and file management system

fix: blurHash typo in image resource

aminnausin16e0e5ae767a
diff --git a/app/Http/Resources/ImageResource.php b/app/Http/Resources/ImageResource.php
index 585cdf1c..406aa9c0 100644
--- a/app/Http/Resources/ImageResource.php
+++ b/app/Http/Resources/ImageResource.php
@@ -15,9 +15,9 @@ class ImageResource extends JsonResource {
return [
'id' => $this->id,
'path' => asset("/storage/{$this->path}"),
- 'type' => $this->image_type->value,
- 'source' => $this->image_source->value,
- 'blur_hash' => $this->blur_hash,
+ 'type' => $this->image_type,
+ 'source' => $this->image_source,
+ 'blurHash' => $this->blur_hash,
];
}
}