forgot to format
Some checks failed
Format / formatting (push) Successful in 6s
Build / build (push) Failing after 39s
CI / build (push) Successful in 11s

This commit is contained in:
2025-04-23 11:50:48 +02:00
parent 8ee06b93a6
commit 32557f8f87
2 changed files with 28 additions and 31 deletions

View File

@ -50,7 +50,9 @@ public class SharedApiService {
EntrepreneurService entrepreneurService,
SectionCellService sectionCellService,
AppointmentService appointmentService,
UtilsService utilsService, EntrepreneurApi entrepreneurApi, AdminApi adminApi) {
UtilsService utilsService,
EntrepreneurApi entrepreneurApi,
AdminApi adminApi) {
this.projectService = projectService;
this.entrepreneurService = entrepreneurService;
this.sectionCellService = sectionCellService;
@ -295,12 +297,12 @@ public class SharedApiService {
sectionCell.updateAppointmentSectionCell(newAppointment);
});
/*
/*
* On initial insertion, the resport value is null unless that report does already exist in the db somewhere
* If a non null value is passed and it does not exist in db it will throw an exception
*/
*/
if (newAppointment.getAppointmentReport() != null) {
newAppointment.getAppointmentReport().setAppointmentReport(newAppointment);
newAppointment.getAppointmentReport().setAppointmentReport(newAppointment);
}
}
}