feature/IO-3096-GlobalNotifications - Checkpoint

This commit is contained in:
Dave Richer
2025-02-12 11:57:50 -05:00
parent 994ea8bb20
commit 3f75041ad9
19 changed files with 275 additions and 34 deletions

View File

@@ -0,0 +1,13 @@
const scenarioParser = require("../utils/scenarioParser");
const handleNotesChange = async (req, res) => {
const { logger } = req;
scenarioParser(req, `req.body.event.new.jobid`).catch((e) => {
logger.log("notifications-error", "error", "notifications", null, { error: e?.message });
});
return res.status(200).json({ message: "Notes Changed Notification Event Handled." });
};
module.exports = handleNotesChange;