survey name added

This commit is contained in:
unknown 2025-12-10 14:54:02 +05:30
parent c7f0846897
commit 805599d3e3

View File

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