Saving data fix

This commit is contained in:
mrfry 2020-10-07 14:25:25 +02:00
parent 8a47792bde
commit 43734fb8f7
2 changed files with 10 additions and 3 deletions

View file

@ -165,7 +165,10 @@ function ProcessIncomingRequest(recievedData, qdb, infos, dryRun, user) {
logger.DebugLog(allQuestions, 'actions', 2)
logger.DebugLog('ProcessIncomingRequest done', 'actions', 1)
resolve(allQLength.length)
resolve({
newQuestions: allQLength.length,
newDb: qdb,
})
} catch (error) {
console.log(error)
logger.Log(