Skip to content

Commit

Permalink
feat: add orderBy in google drive folder and file syncs
Browse files Browse the repository at this point in the history
  • Loading branch information
amuwal committed Dec 16, 2024
1 parent 4b0111e commit 84f7c7a
Show file tree
Hide file tree
Showing 3 changed files with 81 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ export class GoogleDriveService implements IFileService {
pageToken: pageToken,
includeItemsFromAllDrives: true,
supportsAllDrives: true,
orderBy: 'modifiedTime',
}),
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ export class GoogleDriveFolderService implements IFolderService {
pageToken,
includeItemsFromAllDrives: true,
supportsAllDrives: true,
orderBy: 'modifiedTime',
...(driveId !== 'root' && {
driveId,
corpora: 'drive',
Expand Down
Loading

0 comments on commit 84f7c7a

Please sign in to comment.