initial commit
This commit is contained in:
1 parent
19efe29f10
commit
a85ae41557
2 files changed
+35
No files matched your search
@@ -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
|
* Creates a new monitor
|
||||||
* @async
|
* @async
|
||||||
|
|||||||
@@ -338,6 +338,26 @@ const getMonitorsByUserId = async (req, res) => {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get monitors by UserID
|
||||||
|
* @async
|
||||||
|
* @param {Express.Request} req
|
||||||
|
* @param {Express.Response} res
|
||||||
|
* @returns {Promise<Monitor>}
|
||||||
|
* @throws {Error}
|
||||||
|
*/
|
||||||
|
const getMonitorByIdForIncidents = async (req, res, next) => {};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get monitors by UserID
|
||||||
|
* @async
|
||||||
|
* @param {Express.Request} req
|
||||||
|
* @param {Express.Response} res
|
||||||
|
* @returns {Promise<Array<Monitor>>}
|
||||||
|
* @throws {Error}
|
||||||
|
*/
|
||||||
|
const getMonitorsByUserIdForIncidents = async (req, res, next) => {};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a monitor
|
* Create a monitor
|
||||||
* @async
|
* @async
|
||||||
|
|||||||
Reference in new issue
Block a user