finish implementation
This commit is contained in:
1 parent
13039ed2ff
commit
eedf2879ee
6 files changed
+52
-18
No files matched your search
@@ -194,7 +194,7 @@ const deleteChecks = async (monitorId) => {
|
||||
* @throws {Error}
|
||||
*/
|
||||
|
||||
const deleteChecksByTeam = async (teamId) => {
|
||||
const deleteChecksByTeamId = async (teamId) => {
|
||||
try {
|
||||
const teamMonitors = await Monitor.find({ teamId: teamId });
|
||||
teamMonitors.forEach(async (monitor) => {
|
||||
@@ -213,5 +213,5 @@ module.exports = {
|
||||
getChecks,
|
||||
getTeamChecks,
|
||||
deleteChecks,
|
||||
deleteChecksByTeam,
|
||||
deleteChecksByTeamId,
|
||||
};
|
||||
Reference in new issue
Block a user