diff --git a/internal/collections/domain/collection/subject.go b/internal/collections/domain/collection/subject.go index a28270e50..58618a1c8 100644 --- a/internal/collections/domain/collection/subject.go +++ b/internal/collections/domain/collection/subject.go @@ -129,7 +129,7 @@ func (s *Subject) UpdateTags(tags []string) error { return nil } - slice.Map(tags, strings.TrimSpace) + tags = slice.Map(tags, strings.TrimSpace) if lo.ContainsBy(tags, func(item string) bool { return !dam.AllPrintableChar(item) }) { return gerr.ErrInvisibleChar