Skip to content

Commit 33c679d

Browse files
committed
fix getfeaturesetting
1 parent a46fa80 commit 33c679d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

injected/src/features/breakage-reporting.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ export default class BreakageReporting extends ContentFeature {
1717
};
1818

1919
// Only run detectors if explicitly configured
20-
const interferenceTypes = this.getFeatureSetting('interferenceTypes');
21-
const detectorSettings = interferenceTypes?.webInterferenceDetection;
20+
// Fetch interferenceTypes from webInterferenceDetection feature settings
21+
const detectorSettings = this.getFeatureSetting('interferenceTypes', 'webInterferenceDetection');
2222
if (detectorSettings) {
2323
result.detectorData = {
2424
botDetection: runBotDetection(detectorSettings.botDetection),

0 commit comments

Comments
 (0)