From 2425fd4d92a653d720725e1936b824276bb1669a Mon Sep 17 00:00:00 2001 From: MohammadHoseinPaymard Date: Tue, 27 May 2025 12:24:13 +0330 Subject: [PATCH] update index.js --- index.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index fa3976c..defff69 100644 --- a/index.js +++ b/index.js @@ -173,7 +173,7 @@ require(path.join(process.cwd(), "..", "server", "dist", "database.js")); where: { id: [...formQuestions.map(e => +e.questionId), // ...checkListQuestions.map(e => +e.questionId) - ] + ] }, raw: true, }); @@ -196,10 +196,9 @@ require(path.join(process.cwd(), "..", "server", "dist", "database.js")); console.log("questions", questions) - return; } - + return; } return; }