This commit is contained in:
MuhammadKhalilzadeh committed 2024-06-28 21:02:49 +03:30
1 parent 22448e05d3
commit 704980045d
4 files changed
+13 -5

No files matched your search

+1 -1
View File
@@ -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;
}