mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-22 16:07:57 +00:00
Set modifiedTime during view count update
This commit is contained in:
@@ -359,7 +359,8 @@ GoogleActions = {
|
||||
|
||||
await drive.files.update({
|
||||
fileId : brew.googleId,
|
||||
resource : { properties : { views : brew.views + 1,
|
||||
resource : { modifiedTime : brew.updatedAt,
|
||||
properties : { views : brew.views + 1,
|
||||
lastViewed : new Date() } }
|
||||
})
|
||||
.catch((err)=>{
|
||||
|
||||
Reference in New Issue
Block a user