Update Article.php
This commit is contained in:
@@ -82,7 +82,9 @@ class Article extends Model
|
||||
'id' => $this->id,
|
||||
'title' => $this->title,
|
||||
'body' => implode(" ",$this->body),
|
||||
'author' => $this->author
|
||||
'author' => $this->author,
|
||||
'source' => $this->source()->get(),
|
||||
'topics' => $this->topics()->get()
|
||||
];
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user