Log conflicting note in remapped nt case

This commit is contained in:
RumovZ 2022-04-27 18:25:12 +02:00
parent a4dfad565d
commit 969484de43

View file

@ -187,7 +187,7 @@ impl<'n> NoteContext<'n> {
}
if let Some(notetype_id) = self.remapped_notetypes.get(&note.notetype_id) {
if self.target_guids.contains_key(&note.guid) {
// TODO: Log ignore
self.imports.log_conflicting(note);
} else {
note.notetype_id = *notetype_id;
self.add_note(note)?;