Compare commits

..

No commits in common. "6ef2d471e9dac992381041d0a2cd9a253ac87e57" and "ec8a7b28a893cde1cb6afb7ab7a884382b47307c" have entirely different histories.

View file

@ -419,10 +419,6 @@ export class ImportNotesProcessorService {
const name = file.url.substring(slashdex + 1); const name = file.url.substring(slashdex + 1);
const exists = await this.driveFilesRepository.findOneBy({ name: name, userId: user.id }); const exists = await this.driveFilesRepository.findOneBy({ name: name, userId: user.id });
if (exists) { if (exists) {
if (file.name) {
this.driveService.updateFile(exists, { comment: file.name }, user);
}
files.push(exists); files.push(exists);
} }
} }