diff --git a/server/googleActions.js b/server/googleActions.js index 4ccf7a1dd..8a11a73ac 100644 --- a/server/googleActions.js +++ b/server/googleActions.js @@ -249,7 +249,6 @@ const GoogleActions = { text : file.data, description : obj.data.description, - tags : obj.data.properties.tags ? obj.data.properties.tags : '', systems : obj.data.properties.systems ? obj.data.properties.systems.split(',') : [], authors : [], published : obj.data.properties.published ? obj.data.properties.published == 'true' : false, diff --git a/server/homebrew.api.js b/server/homebrew.api.js index ec8e438fa..484ca8bb5 100644 --- a/server/homebrew.api.js +++ b/server/homebrew.api.js @@ -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)=>{