From cf47e0855429697a10da72f4d9000b421f9e7282 Mon Sep 17 00:00:00 2001 From: Michael Piazza Date: Tue, 11 Apr 2023 17:36:07 -0400 Subject: [PATCH] Respect AAO rules --- identity-service/src/utils/antiAbuse.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/identity-service/src/utils/antiAbuse.js b/identity-service/src/utils/antiAbuse.js index a524f00dae7..b42221ff0ab 100644 --- a/identity-service/src/utils/antiAbuse.js +++ b/identity-service/src/utils/antiAbuse.js @@ -6,7 +6,7 @@ const models = require('../models') const aaoEndpoint = config.get('aaoEndpoint') || 'https://antiabuseoracle.audius.co' -const allowRules = new Set([14]) +const allowRules = new Set([14, 17]) const blockRelayAbuseErrorCodes = new Set([0, 8, 10, 13, 15]) const blockNotificationsErrorCodes = new Set([7, 9]) const blockEmailsErrorCodes = new Set([0, 1, 2, 3, 4, 8, 10, 13, 15])