include port in update payload for port monitors

This commit is contained in:
Vishnu Sreekumaran Nair committed 2025-05-01 13:46:10 -04:00
1 parent a750176037
commit b7b6724ce5
1 file changed
+1
+1
View File
@@ -266,6 +266,7 @@ class NetworkService {
matchMethod: monitor.matchMethod,
expectedValue: monitor.expectedValue,
jsonPath: monitor.jsonPath,
...(monitor.type === "port" && { port: monitor.port }),
};
return this.axiosInstance.put(`/monitors/${monitorId}`, payload, {
headers: {