Update Article.php

This commit is contained in:
2021-07-24 20:30:37 +05:00
parent 1647965d46
commit 7adf670bf0

View File

@@ -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()
];
}
}