0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-08 16:12:38 +00:00

Revert "Add modifiedTime to properties to apply during view count increase update."

This reverts commit 72b18e4266.
This commit is contained in:
G.Ambatte
2021-08-10 21:37:03 +12:00
parent 72b18e4266
commit a6aaa93389

View File

@@ -358,8 +358,7 @@ GoogleActions = {
await drive.files.update({ await drive.files.update({
fileId : brew.googleId, fileId : brew.googleId,
resource : { modifiedTime : brew.updatedAt, resource : { properties : { views : brew.views + 1,
properties : { views : brew.views + 1,
lastViewed : new Date() } } lastViewed : new Date() } }
}) })
.catch((err)=>{ .catch((err)=>{