diff --git a/index.js b/index.js index 57e49c4..fa3976c 100644 --- a/index.js +++ b/index.js @@ -162,7 +162,7 @@ require(path.join(process.cwd(), "..", "server", "dist", "database.js")); let formQuestions = await bpmsDB.bpms_formQuestion.findAll({ where: { - processId:process.id, + processId: process.id, }, raw: true }); @@ -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, });