From f4df11e2a0b7bed6103f3fbe0febdbfa836c9494 Mon Sep 17 00:00:00 2001 From: phroggster Date: Fri, 25 Oct 2024 15:49:21 -0500 Subject: [PATCH] CK wasn't happy with an undocumented parameter - and dos2unix isn't happy with lack of trailing EOL - I'm done touching this PR now. - Please squash if it ever gets merged. --- src/backend/variables/builtin/user/roles/custom-role-users.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/backend/variables/builtin/user/roles/custom-role-users.ts b/src/backend/variables/builtin/user/roles/custom-role-users.ts index 3d7c96a0b..4ffcd2c7c 100644 --- a/src/backend/variables/builtin/user/roles/custom-role-users.ts +++ b/src/backend/variables/builtin/user/roles/custom-role-users.ts @@ -29,8 +29,6 @@ const model : ReplaceVariable = { if (propertyName?.toLowerCase() === "username") { return customRole?.viewers?.map(v => v.username) || []; - } else if (propertyName?.toLowerCase() === "id") { - return customRole?.viewers?.map(v => v.id) || []; } else if (propertyName?.toLowerCase() === "raw") { return customRole?.viewers || []; } @@ -39,4 +37,4 @@ const model : ReplaceVariable = { } }; -export default model; \ No newline at end of file +export default model;