reduce tags length
This commit is contained in:
parent
3ba0c97634
commit
87211e802d
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ func SanitizeTags(tags []string, youtubeChannelID string) ([]string, error) {
|
||||||
return sanitizedTags, nil
|
return sanitizedTags, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
const TagMaxLength = 255
|
const TagMaxLength = 50
|
||||||
|
|
||||||
func normalizeTag(t string) (string, error) {
|
func normalizeTag(t string) (string, error) {
|
||||||
t = strings.ToLower(t)
|
t = strings.ToLower(t)
|
||||||
|
|
Loading…
Add table
Reference in a new issue