mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2026-04-28 03:07:38 +02:00
Exporting doSearch from classes, and removed unnecesary qdb param
This commit is contained in:
@@ -564,6 +564,7 @@ if (!isMainThread) {
|
||||
|
||||
try {
|
||||
qdbs.forEach((qdb) => {
|
||||
// FIXME: === 0?
|
||||
if (searchIn.length === 0 || searchIn.includes(qdb.index)) {
|
||||
const res = doSearch(
|
||||
qdb.data,
|
||||
@@ -639,4 +640,5 @@ export {
|
||||
createQuestion,
|
||||
addQuestion,
|
||||
dataToString,
|
||||
doSearch,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user