From 201ee920d1de74508abbc866dee2bebe1e1a4f12 Mon Sep 17 00:00:00 2001 From: Angel98518 Date: Tue, 20 Jan 2026 07:05:41 -0800 Subject: [PATCH] Update server/monitor-types/mongodb.js Co-authored-by: Frank Elsinga --- server/monitor-types/mongodb.js | 1 - 1 file changed, 1 deletion(-) diff --git a/server/monitor-types/mongodb.js b/server/monitor-types/mongodb.js index 7a78edab4..bbe217c64 100644 --- a/server/monitor-types/mongodb.js +++ b/server/monitor-types/mongodb.js @@ -12,7 +12,6 @@ class MongodbMonitorType extends MonitorType { async check(monitor, heartbeat, _server) { let command = { ping: 1 }; if (monitor.databaseQuery) { - // databaseQuery is validated in Monitor.validate(), so we can safely parse it here command = JSON.parse(monitor.databaseQuery); }