public function toArray($request): array 	{ 		$lang = app()->getLocale();  		return [ 			'id' => $this->id, 			'slug' => $this->getTranslation('slug', $lang), 			'name' => $this->getTranslation('title', $lang), 			'short_description' => $this->getTranslation('short_description', $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), 			], 			'media' => new MediaResource($this->storage()->getFirstFile('image')), 		]; 	}