|
|
@ -173,7 +173,7 @@ require(path.join(process.cwd(), "..", "server", "dist", "database.js")); |
|
|
|
where: { |
|
|
|
where: { |
|
|
|
id: [...formQuestions.map(e => +e.questionId), |
|
|
|
id: [...formQuestions.map(e => +e.questionId), |
|
|
|
// ...checkListQuestions.map(e => +e.questionId)
|
|
|
|
// ...checkListQuestions.map(e => +e.questionId)
|
|
|
|
] |
|
|
|
] |
|
|
|
}, |
|
|
|
}, |
|
|
|
raw: true, |
|
|
|
raw: true, |
|
|
|
}); |
|
|
|
}); |
|
|
@ -196,10 +196,9 @@ require(path.join(process.cwd(), "..", "server", "dist", "database.js")); |
|
|
|
|
|
|
|
|
|
|
|
console.log("questions", questions) |
|
|
|
console.log("questions", questions) |
|
|
|
|
|
|
|
|
|
|
|
return; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|