Fixed a typo

deploy_packages_to_gitea
Jens Pelzetter 2023-01-29 14:17:23 +01:00
parent 8f77d0726e
commit 77272549a0
1 changed files with 4 additions and 1 deletions

View File

@ -29,6 +29,9 @@ import javax.inject.Inject;
public class PersonImExporter public class PersonImExporter
extends AbstractContactableEntityImExporter<Person> { extends AbstractContactableEntityImExporter<Person> {
@Inject
private PersonRepository personRepo;
@Inject @Inject
private PersonNameRepository personNameRepo; private PersonNameRepository personNameRepo;
@ -89,7 +92,7 @@ public class PersonImExporter
newPersonName.setSurname(imported.getSurname()); newPersonName.setSurname(imported.getSurname());
existingContactable.addPersonName(newPersonName); existingContactable.addPersonName(newPersonName);
personNameRepo.save(imported); personNameRepo.save(newPersonName);
} }
} }
} }