Api to return more recent articles
This commit is contained in:
@@ -18,6 +18,6 @@ final class RecentArticles extends Controller
|
|||||||
{
|
{
|
||||||
return Article::with('source', 'topics')
|
return Article::with('source', 'topics')
|
||||||
->latest("published_date")
|
->latest("published_date")
|
||||||
->paginate(8);
|
->paginate(20);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user