Skip to content

Commit

Permalink
CK wasn't happy with an undocumented parameter
Browse files Browse the repository at this point in the history
- and dos2unix isn't happy with lack of trailing EOL
- I'm done touching this PR now.
- Please squash if it ever gets merged.
  • Loading branch information
phroggster committed Oct 25, 2024
1 parent 8a5a636 commit f4df11e
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 || [];
}
Expand All @@ -39,4 +37,4 @@ const model : ReplaceVariable = {
}
};

export default model;
export default model;

0 comments on commit f4df11e

Please sign in to comment.