fix(GoogleDrive)
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
Родитель
99825bcc4c
Коммит
b3e47764a5
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче