mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-06 03:32:40 +00:00
Exclude thumbnail from Google props
This commit is contained in:
@@ -108,7 +108,7 @@ const excludePropsFromUpdate = (brew)=>{
|
|||||||
|
|
||||||
const excludeGoogleProps = (brew)=>{
|
const excludeGoogleProps = (brew)=>{
|
||||||
const modified = _.clone(brew);
|
const modified = _.clone(brew);
|
||||||
const propsToExclude = ['tags', 'systems', 'published', 'authors', 'owner', 'views'];
|
const propsToExclude = ['tags', 'systems', 'published', 'authors', 'owner', 'views', 'thumbnail'];
|
||||||
for (const prop of propsToExclude) {
|
for (const prop of propsToExclude) {
|
||||||
delete modified[prop];
|
delete modified[prop];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user