mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Old question removing and updating
This commit is contained in:
@@ -53,6 +53,7 @@ import {
|
||||
dataToString,
|
||||
getSubjNameWithoutYear,
|
||||
WorkerResult,
|
||||
SearchResultQuestion,
|
||||
// compareQuestionObj,
|
||||
} from '../../../utils/classes'
|
||||
import {
|
||||
@@ -194,7 +195,7 @@ function searchInDbs(
|
||||
logger.DebugLog(taskResult, 'ask', 2)
|
||||
resolve({
|
||||
question: question,
|
||||
result: taskResult.result,
|
||||
result: taskResult.result as SearchResultQuestion[],
|
||||
success: true,
|
||||
})
|
||||
} catch (err) {
|
||||
|
Reference in New Issue
Block a user