bugfix: now trimming tags on creation

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2026-04-18 15:28:21 +02:00
parent 55ece851be
commit 877547df0d
@@ -144,7 +144,7 @@ public class TagModule extends BaseHandler implements TagService {
@Override
public void save(String module, long entityId, Collection<Long> userIds, Collection<String> tags) {
tagDb.save(userIds,module,entityId,tags);
tagDb.save(userIds,module,entityId,tags.stream().map(String::trim).toList());
}
@Override