feat: Show popular articles on widget home (#7604)

This commit is contained in:
Nithin David Thomas
2023-08-01 21:32:44 +05:30
committed by GitHub
parent 9efadf8804
commit e052a061f4
22 changed files with 299 additions and 64 deletions

View File

@@ -97,6 +97,7 @@ const getMostReadArticles = (slug, locale) => ({
url: `/hc/${slug}/${locale}/articles.json`,
params: {
page: 1,
sort: 'views',
},
});