Add comment

This commit is contained in:
Trevor Buckner authored and GitHub committed 2024-12-02 12:23:54 -05:00
1 parent 2743ab869a
commit 9f9948f531
1 file changed
+1
+1
View File
@@ -22,6 +22,7 @@ const splitTextStyleAndMetadata = (brew)=>{
brew.text = brew.text.slice(index + 5); brew.text = brew.text.slice(index + 5);
} }
// Handle old brews that still have empty strings in the tags metadata
if(typeof brew.tags === 'string') brew.tags = brew.tags ? [brew.tags] : []; if(typeof brew.tags === 'string') brew.tags = brew.tags ? [brew.tags] : [];
}; };