0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-06-22 00:38:38 +00:00

lint server

This commit is contained in:
Víctor Losada Hernández
2026-05-18 16:22:03 +02:00
parent 15db3c9f66
commit 34b26107c6
2 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ const migrateSystemsToTags = (brew) => {
'3.5e' : 'system:D&D 3.5e',
'Pathfinder' : 'system:Pathfinder 2e'
};
const systemTags = brew.systems.map(s => systemMap[s]);
const systemTags = brew.systems.map((s)=>systemMap[s]);
brew.tags = _.uniq([...(brew.tags || []), ...systemTags]);
brew.systems = undefined;