Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
vtalas committed Mar 1, 2024
1 parent 1a3bbcf commit be299ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/appmixer/google/drive/NewFile/NewFile.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ const detectNewFiles = async function(context) {
const auth = commons.getOauth2Client(context.auth);
const drive = google.drive({ version: 'v3', auth });

const { newFiles, newStartPageToken } = await getNewFiles(lock, drive, folder.id, startPageToken);

await context.stateSet('hasSkippedMessage', false);

const { newFiles, newStartPageToken } = await getNewFiles(lock, drive, folder.id, startPageToken);

const processedFilesSet = commons.processedItemsBuffer(processedFiles);

for (let file of newFiles) {
Expand Down

0 comments on commit be299ce

Please sign in to comment.