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; }