From 805599d3e3386f173591033b5f40518cef1d445e Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 10 Dec 2025 14:54:02 +0530 Subject: [PATCH] survey name added --- app/controllers/quarterlyWindowsConfiguration.controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/quarterlyWindowsConfiguration.controller.js b/app/controllers/quarterlyWindowsConfiguration.controller.js index 4596af3..4c0d09d 100644 --- a/app/controllers/quarterlyWindowsConfiguration.controller.js +++ b/app/controllers/quarterlyWindowsConfiguration.controller.js @@ -11,7 +11,7 @@ const { sendEmailService } = require("../services/email.service"); exports.createConfig = async (req, res) => { try { - const {quarter, year, start_date, end_date } = req.body; + const {survey_name, quarter, year, start_date, end_date } = req.body; // find config const exists = await QuarterlyWindowsConfiguration.findOne({where: { quarter, year }});