From d131ae2494062f05a620ccf2b55bc0638eadb40e Mon Sep 17 00:00:00 2001 From: Simon Larsen Date: Mon, 4 Mar 2024 12:28:07 +0000 Subject: [PATCH] Refactor JSONFunctions.parse to JSONFunctions.parseJSONObject in MonitorUtil --- Probe/Utils/Monitors/Monitor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Probe/Utils/Monitors/Monitor.ts b/Probe/Utils/Monitors/Monitor.ts index 5144453573..b11991f96d 100644 --- a/Probe/Utils/Monitors/Monitor.ts +++ b/Probe/Utils/Monitors/Monitor.ts @@ -202,7 +202,7 @@ export default class MonitorUtil { monitorStep.data?.requestBody && typeof monitorStep.data?.requestBody === 'string' ) { - requestBody = JSONFunctions.parse( + requestBody = JSONFunctions.parseJSONObject( monitorStep.data?.requestBody ); }