mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-22 16:07:57 +00:00
remove tags from google brew fetch
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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)=>{
|
||||
|
||||
Reference in New Issue
Block a user