blob: eb40e8eb7d97e5531bec80fcfc42fbbdacfc4374 [file] [log] [blame]
const removeUserAbuseEventsInViewForum = {
urlRegex: /api\/ViewForum/i,
featureGated: true,
features: ['fixpekb269560789'],
isEnabled(options) {
return options['fixpekb269560789'];
},
async interceptor(_, response) {
if (response?.[1]?.[6]?.[8]?.[7]) {
delete response[1][6][8][7];
}
return response;
},
};
export default removeUserAbuseEventsInViewForum;