fix: crash

isekai-main
Barış Soner Uşaklı 3 years ago
parent eb075c7328
commit da64810a4a

@ -67,8 +67,8 @@ searchController.search = async function (req, res, next) {
const [searchData, categoriesData] = await Promise.all([
search.search(data),
recordSearch(data),
buildCategories(req.uid, searchOnly),
recordSearch(data),
]);
searchData.pagination = pagination.create(page, searchData.pageCount, req.query);

Loading…
Cancel
Save