fix: updating foreign keys when adding new entity to the db
This commit is contained in:
@ -91,7 +91,7 @@ public class ProjectService {
|
||||
}
|
||||
|
||||
if (administrator != null) {
|
||||
project.get().setAdministrator(administrator);
|
||||
project.get().setProjectAdministrator(administrator);
|
||||
}
|
||||
|
||||
return this.projectRepository.save(project.get());
|
||||
|
Reference in New Issue
Block a user