useAdvncedMatching

This commit is contained in:
Alex Holliday committed 2026-01-30 20:21:31 +00:00
1 parent 0263c17618
commit f685c9cd5d
10 files changed
+66 -18

No files matched your search

@@ -255,7 +255,7 @@ class NetworkService implements INetworkService {
}
private async requestHttp(monitor: Monitor): Promise<MonitorStatusResponse> {
const { url, secret, id, teamId, type, ignoreTlsErrors, jsonPath, matchMethod, expectedValue } = monitor;
const { url, secret, id, teamId, type, ignoreTlsErrors, useAdvancedMatching, jsonPath, matchMethod, expectedValue } = monitor;
const httpResponse = this.buildStatusResponse({
monitor,
overrides: {
@@ -305,7 +305,7 @@ class NetworkService implements INetworkService {
timings: response.timings,
});
if (!expectedValue && !jsonPath) {
if (!useAdvancedMatching) {
return httpResponse;
}