Meta data and article resources in topic,source
This commit is contained in:
@@ -28,7 +28,8 @@ class ArticleResource extends JsonResource
|
||||
"source" => new SourceResource($this->source),
|
||||
"topics" => TopicResource::collection($this->topics),
|
||||
"link" => url(route('article.show',$this->id)),
|
||||
"published_date" => $this->published_date
|
||||
"published_date" => $this->published_date,
|
||||
"meta" => $this->meta
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user