This commit is contained in:
mohadeseh safari committed 2025-03-28 11:59:10 -04:00
1 parent a5780efff5
commit d58150df6b
3 files changed
+5 -2

No files matched your search

+1 -1
View File
@@ -479,7 +479,7 @@ const Configure = () => {
color={theme.palette.primary.contrastTextTertiary} color={theme.palette.primary.contrastTextTertiary}
opacity={0.8} 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> </Typography>
</Stack> </Stack>
<Stack> <Stack>
+1 -1
View File
@@ -465,7 +465,7 @@ const CreateMonitor = () => {
color={theme.palette.primary.contrastTextTertiary} color={theme.palette.primary.contrastTextTertiary}
opacity={0.8} 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> </Typography>
</Stack> </Stack>
<Stack> <Stack>
+3
View File
@@ -263,6 +263,9 @@ class NetworkService {
description: monitor.description, description: monitor.description,
interval: monitor.interval, interval: monitor.interval,
notifications: monitor.notifications, notifications: monitor.notifications,
matchMethod: monitor.matchMethod,
expectedValue: monitor.expectedValue,
jsonPath: monitor.jsonPath,
}; };
return this.axiosInstance.put(`/monitors/${monitorId}`, updatedFields, { return this.axiosInstance.put(`/monitors/${monitorId}`, updatedFields, {
headers: { headers: {