fixes
This commit is contained in:
1 parent
22448e05d3
commit
704980045d
4 files changed
+13
-5
No files matched your search
@@ -396,7 +396,7 @@ const getChecks = async (monitorId) => {
|
||||
const deleteChecks = async (monitorId) => {
|
||||
try {
|
||||
const result = await Check.deleteMany({ monitorId });
|
||||
return result.deletedCount;
|
||||
return result;
|
||||
} catch (error) {
|
||||
throw error;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user