diff --git a/app/controllers/submission.controller.js b/app/controllers/submission.controller.js index b0abb8a..a419707 100644 --- a/app/controllers/submission.controller.js +++ b/app/controllers/submission.controller.js @@ -808,7 +808,7 @@ exports.getQuarterPeriods = async (req, res) => { .json({ status: "failed", message: "current_year and current_quarter are required" }); } - const config = await QuarterlyWindowConfig.findOne({ + const config = await QuarterlyWindowsConfiguration.findOne({ where: { year: current_year, quarter: current_quarter