Feat: Ignore TLS/SSL Error Option in Config
This commit is contained in:
1 parent
c466edb751
commit
4d9e47d93a
3 files changed
+42
-20
No files matched your search
@@ -81,11 +81,13 @@ export const updateUptimeMonitor = createAsyncThunk(
|
||||
notifications: monitor.notifications,
|
||||
matchMethod: monitor.matchMethod,
|
||||
expectedValue: monitor.expectedValue,
|
||||
ignoreTlsErrors: monitor.ignoreTlsErrors,
|
||||
jsonPath: monitor.jsonPath,
|
||||
...(monitor.type === "port" && { port: monitor.port }),
|
||||
};
|
||||
const res = await networkService.updateMonitor({
|
||||
monitorId: monitor._id,
|
||||
monitor,
|
||||
updatedFields,
|
||||
});
|
||||
return res.data;
|
||||
} catch (error) {
|
||||
|
||||
Reference in new issue
Block a user