fix: tags input normalization

This commit is contained in:
NGPixel committed 2020-04-09 21:56:24 -04:00
1 parent 488ec4a3af
commit 77548c8778
3 files changed
+19 -17

No files matched your search

+1 -1
View File
@@ -55,7 +55,7 @@ module.exports = class Tag extends Model {
// Format tags
tags = _.uniq(tags.map(t => t.toLowerCase()))
tags = _.uniq(tags.map(t => _.trim(t).toLowerCase()))
// Create missing tags