From b3e47764a5c739b085fc5f7dfe7024c7133b2295 Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Mon, 7 Oct 2024 10:31:53 +0200 Subject: [PATCH] fix(GoogleDrive) Signed-off-by: Marcel Klehr --- src/lib/adapters/GoogleDrive.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/adapters/GoogleDrive.ts b/src/lib/adapters/GoogleDrive.ts index 568c47d4..7267f900 100644 --- a/src/lib/adapters/GoogleDrive.ts +++ b/src/lib/adapters/GoogleDrive.ts @@ -218,7 +218,7 @@ export default class GoogleDriveAdapter extends CachingAdapter { const fileList = await this.listFiles(`name = '${this.server.bookmark_file}'`, 100) const file = fileList.files.filter(file => !file.trashed)[0] - const filesToDelete = fileList.slice(1) + const filesToDelete = fileList.files.slice(1) for (const fileToDelete of filesToDelete) { try { await this.deleteFile(fileToDelete.id)