mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-01 21:30:30 +01:00
fix: crash
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user