Files
bodyshop/server/notifications/eventHandlers/handleTasksChange.js
2025-02-10 15:19:41 -05:00

10 lines
376 B
JavaScript

const scenarioParser = require("../utils/scenarioParser");
const handleTasksChange = async (req, res) => {
const { logger } = req;
scenarioParser(req).catch((e) => logger.log("notifications-error", "error", "jsr", null, { error: e?.message }));
return res.status(200).json({ message: "Notification Scenario Event Handled." });
};
//
module.exports = handleTasksChange;