This commit is contained in:
mohadeseh safari
2025-03-28 11:59:10 -04:00
parent a5780efff5
commit d58150df6b
3 changed files with 5 additions and 2 deletions

View File

@@ -479,7 +479,7 @@ const Configure = () => {
color={theme.palette.primary.contrastTextTertiary}
opacity={0.8}
>
The expected value to check in the response. Examples: HTTP status code, text in response body, or specific value from JSON data.
The expected value to check in the response body content. Examples: specific text, HTML elements, or JSON values in the response.
</Typography>
</Stack>
<Stack>

View File

@@ -465,7 +465,7 @@ const CreateMonitor = () => {
color={theme.palette.primary.contrastTextTertiary}
opacity={0.8}
>
The expected value to check in the response. Examples: HTTP status code, text in response body, or specific value from JSON data.
The expected value to check in the response body content. Examples: specific text, HTML elements, or JSON values in the response.
</Typography>
</Stack>
<Stack>

View File

@@ -263,6 +263,9 @@ class NetworkService {
description: monitor.description,
interval: monitor.interval,
notifications: monitor.notifications,
matchMethod: monitor.matchMethod,
expectedValue: monitor.expectedValue,
jsonPath: monitor.jsonPath,
};
return this.axiosInstance.put(`/monitors/${monitorId}`, updatedFields, {
headers: {