chore: Add missing locale info in portal API (#5177)

This commit is contained in:
Tejaswini Chile
2022-08-03 10:33:48 +05:30
committed by GitHub
parent 11fe3f071e
commit 4152883f38
3 changed files with 14 additions and 2 deletions

View File

@@ -0,0 +1,3 @@
json.code locale
json.articles_count portal.articles.search({ locale: locale }).size
json.categories_count portal.categories.search_by_locale(locale).size