Refactor JSONFunctions.parse to JSONFunctions.parseJSONObject in MonitorUtil

This commit is contained in:
Simon Larsen 2024-03-04 12:28:07 +00:00
parent 190be32d9c
commit d131ae2494
No known key found for this signature in database
GPG Key ID: AB45983AA9C81CDE

View File

@ -202,7 +202,7 @@ export default class MonitorUtil {
monitorStep.data?.requestBody && monitorStep.data?.requestBody &&
typeof monitorStep.data?.requestBody === 'string' typeof monitorStep.data?.requestBody === 'string'
) { ) {
requestBody = JSONFunctions.parse( requestBody = JSONFunctions.parseJSONObject(
monitorStep.data?.requestBody monitorStep.data?.requestBody
); );
} }