modify
This commit is contained in:
1 parent
a5780efff5
commit
d58150df6b
3 files changed
+5
-2
No files matched your search
@@ -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>
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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: {
|
||||||
|
|||||||
Reference in new issue
Block a user