Skip to content

Commit

Permalink
fix: attribute values need to be reduced to 150 characters
Browse files Browse the repository at this point in the history
  • Loading branch information
JannikZed committed Dec 27, 2023
1 parent 3d97bfc commit d79c0d9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pkg/normalization/src/normalize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,13 @@ class NormalizationUtility {
return this.standardNormalize(input);
}

/**
* Normalize attribute values. Attribute value
* reduced to 150 characters
* @param input
*/
public attributeValueNames(input: string) {
return this.standardNormalize(input);
return this.standardNormalize(input).slice(0, 150);
}

public channelNames(input: string) {
Expand Down

1 comment on commit d79c0d9

@vercel
Copy link

@vercel vercel bot commented on d79c0d9 Dec 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.