From a6aaa933899cdafa372728612b3045d5c80df6bc Mon Sep 17 00:00:00 2001 From: "G.Ambatte" Date: Tue, 10 Aug 2021 21:37:03 +1200 Subject: [PATCH] Revert "Add `modifiedTime` to properties to apply during view count increase update." This reverts commit 72b18e42665cbbe4328a176aa79e6a22afff4b96. --- server/googleActions.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/server/googleActions.js b/server/googleActions.js index 320e6f752..ff5fd0662 100644 --- a/server/googleActions.js +++ b/server/googleActions.js @@ -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');