reduce tags length

This commit is contained in:
Niko Storni 2019-08-02 09:05:24 -04:00
parent 3ba0c97634
commit 87211e802d

View file

@ -71,7 +71,7 @@ func SanitizeTags(tags []string, youtubeChannelID string) ([]string, error) {
return sanitizedTags, nil
}
const TagMaxLength = 255
const TagMaxLength = 50
func normalizeTag(t string) (string, error) {
t = strings.ToLower(t)