diff --git a/client/homebrew/editor/editor.jsx b/client/homebrew/editor/editor.jsx index f881886ba..fd9f850d3 100644 --- a/client/homebrew/editor/editor.jsx +++ b/client/homebrew/editor/editor.jsx @@ -299,10 +299,7 @@ const Editor = createClass({ style={{ display: 'none' }} rerenderParent={this.rerenderParent} /> ; } diff --git a/server/homebrew.api.js b/server/homebrew.api.js index 4af232b4c..924e728db 100644 --- a/server/homebrew.api.js +++ b/server/homebrew.api.js @@ -56,6 +56,9 @@ const getBrew = (accessType)=>{ throw 'Brew not found in Homebrewery database or Google Drive'; } + if(typeof stub.tags === 'string') { + stub.tags = []; + } req.brew = stub; next();