mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 15:24:55 +00:00
Refactor JSONFunctions.parse to JSONFunctions.parseJSONObject in MonitorUtil
This commit is contained in:
parent
190be32d9c
commit
d131ae2494
@ -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
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user