mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-24 20:42:43 +00:00
Revert "Add modifiedTime to properties to apply during view count increase update."
This reverts commit 72b18e4266.
This commit is contained in:
@@ -358,9 +358,8 @@ GoogleActions = {
|
||||
|
||||
await drive.files.update({
|
||||
fileId : brew.googleId,
|
||||
resource : { modifiedTime : brew.updatedAt,
|
||||
properties : { views : brew.views + 1,
|
||||
lastViewed : new Date() } }
|
||||
resource : { properties : { views : brew.views + 1,
|
||||
lastViewed : new Date() } }
|
||||
})
|
||||
.catch((err)=>{
|
||||
console.log('Error updating Google views');
|
||||
|
||||
Reference in New Issue
Block a user