const scenarioParser = require("../utils/scenarioParser"); const handleJobsChange = async (req, res) => { const { logger } = req; scenarioParser(req, `req.body.event.new.id`).catch((e) => { console.dir(e); logger.log("notifications-error", "error", "notifications", null, { error: e?.message }); }); return res.status(200).json({ message: "Job Notifications Event Handled." }); }; // module.exports = handleJobsChange;