update index.js

main
MohammadHoseinPaymard 2 weeks ago
parent f9a5e681ee
commit 703e3e6c46
  1. 4
      index.js

@ -171,7 +171,9 @@ require(path.join(process.cwd(), "..", "server", "dist", "database.js"));
let questions = await bpmsDB.bpms_question.findAll({
where: {
id: [...formQuestions.map(e => +e.questionId), ...checkListQuestions.map(e => +e.questionId)]
id: [...formQuestions.map(e => +e.questionId),
// ...checkListQuestions.map(e => +e.questionId)
]
},
raw: true,
});

Loading…
Cancel
Save