public function toArray($request): array 	{ 		$lang = app()->getLocale();  		$storage = $this->storage();  		return [ 			'id' => $this->id, 			'slug' => $this->getTranslation('slug', $lang), 			'name' => $this->getTranslation('title', $lang), 			'short_description' => $this->getTranslation('short_description', $lang), 			'body' => $this->getTranslation('body', $lang), 			'author' => $this->author, 			'external_url' => $this->external_url, 			'published_at' => formatTimestamp($this->published_at), 			'category' => [ 				'name' => $this->blogCategory->getTranslation('name', $lang), 				'slug' => $this->blogCategory->getTranslation('slug', $lang), 			], 			'created_at' => formatTimestamp($this->created_at), 			'updated_at' => formatTimestamp($this->updated_at), 			'media' => new MediaResource($storage->getFirstFile('image')), 			'files' => MediaResource::collection($storage->files('files')), 		]; 	}