lint: fix semicolon

isekai-main
Barış Soner Uşaklı 3 years ago
parent a583141252
commit 3a77e71443

@ -77,7 +77,7 @@ categoriesController.getAll = async function (req, res) {
if (c.children) {
c.subCategoriesLeft = Math.max(0, c.children.length - c.subCategoriesPerPage);
c.hasMoreSubCategories = c.children.length > c.subCategoriesPerPage;
c.showMorePage = Math.ceil(c.subCategoriesPerPage / meta.config.categoriesPerPage)
c.showMorePage = Math.ceil(c.subCategoriesPerPage / meta.config.categoriesPerPage);
c.children = c.children.slice(0, c.subCategoriesPerPage);
c.children.forEach(c => trim(c));
}

Loading…
Cancel
Save