diff --git a/index.js b/index.js index defff69..132a07d 100644 --- a/index.js +++ b/index.js @@ -167,6 +167,8 @@ require(path.join(process.cwd(), "..", "server", "dist", "database.js")); raw: true }); + console.log("formQuestions",formQuestions); + const formQuestionMap = new Map(formQuestions.map((fQ) => ([+fQ.questionId, fQ]))); let questions = await bpmsDB.bpms_question.findAll({ @@ -198,7 +200,7 @@ require(path.join(process.cwd(), "..", "server", "dist", "database.js")); } - return; + // return; } return; }