0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-11 02:32:41 +00:00

remove tags from google brew fetch

This commit is contained in:
Charlie Humphreys
2022-11-18 17:53:47 -06:00
parent 13b43e8902
commit f26e3d6cd1
2 changed files with 0 additions and 5 deletions

View File

@@ -234,10 +234,6 @@ const updateBrew = async (req, res)=>{
if(req.account) {
brew.authors = _.uniq(_.concat(brew.authors, req.account.username));
}
// we need the tag type change in both getBrew and here to handle the case where we don't have a stub on which to perform the modification
if(typeof brew.tags === 'string') {
brew.tags = [];
}
// define a function to catch our save errors
const saveError = (err)=>{