diff --git a/app/Http/Resources/Gallery.php b/app/Http/Resources/Gallery.php index f604406..b9a21ff 100644 --- a/app/Http/Resources/Gallery.php +++ b/app/Http/Resources/Gallery.php @@ -31,6 +31,7 @@ class Gallery extends JsonResource "big" => url("/".$this->getTenant()->url."/".$this->url."/".$this->main_image."/file?size=big") ]]; $data["description"] = $this->description; + $t = json_decode($this->tags); if(is_array($t)) { foreach ($t as $i => $g) {