survey name added
This commit is contained in:
parent
c7f0846897
commit
805599d3e3
@ -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 }});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user