diff --git a/Server/controllers/monitorController.js b/Server/controllers/monitorController.js index 52433c8d7..4e51aca97 100644 --- a/Server/controllers/monitorController.js +++ b/Server/controllers/monitorController.js @@ -98,6 +98,21 @@ const getMonitorsByUserId = async (req, res, next) => { } }; +const getMonitorByIdForIncidents = async (req, res, next) => { + try { + } catch (error) { + error.service = SERVICE_NAME; + next(error); + } +}; +const getMonitorsByUserIdForIncidents = async (req, res, next) => { + try { + } catch (error) { + error.service = SERVICE_NAME; + next(error); + } +}; + /** * Creates a new monitor * @async diff --git a/Server/db/MongoDB.js b/Server/db/MongoDB.js index a59822f98..86160b91c 100644 --- a/Server/db/MongoDB.js +++ b/Server/db/MongoDB.js @@ -338,6 +338,26 @@ const getMonitorsByUserId = async (req, res) => { } }; +/** + * Get monitors by UserID + * @async + * @param {Express.Request} req + * @param {Express.Response} res + * @returns {Promise} + * @throws {Error} + */ +const getMonitorByIdForIncidents = async (req, res, next) => {}; + +/** + * Get monitors by UserID + * @async + * @param {Express.Request} req + * @param {Express.Response} res + * @returns {Promise>} + * @throws {Error} + */ +const getMonitorsByUserIdForIncidents = async (req, res, next) => {}; + /** * Create a monitor * @async