From 248aec88033b1453144b738088fdfa4a92ce8f89 Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Wed, 12 Jun 2024 23:24:01 +0200 Subject: [PATCH] Formtting fix --- server/model/monitor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/model/monitor.js b/server/model/monitor.js index 281f56214..47d26cca6 100644 --- a/server/model/monitor.js +++ b/server/model/monitor.js @@ -603,8 +603,8 @@ class Monitor extends BeanModel { const { status, response } = await evaluateJsonQuery(data, this.jsonPath, this.jsonPathOperator, this.expectedValue); if (status) { - bean.status = UP; - bean.msg = `JSON query passes (comparing ${response} ${this.jsonPathOperator} ${this.expectedValue})` + bean.status = UP; + bean.msg = `JSON query passes (comparing ${response} ${this.jsonPathOperator} ${this.expectedValue})`; } else { throw new Error(`JSON query does not pass (comparing ${response} ${this.jsonPathOperator} ${this.expectedValue})`); }