From 703e3e6c469fe20ec7fe53f0ad8a04691aa294bb Mon Sep 17 00:00:00 2001 From: MohammadHoseinPaymard Date: Tue, 27 May 2025 12:23:05 +0330 Subject: [PATCH] update index.js --- index.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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, });