1
0
forked from PGL/Clyde

added comments and fixed logic issue

This commit is contained in:
2024-04-14 12:34:04 +02:00
parent 17cb969160
commit 1498cfa11e
5 changed files with 59 additions and 3 deletions

View File

@ -110,6 +110,8 @@ public class ResearchesService {
}
public Researcher saveResearcher(Researcher researcher) {
if (researcherRepo.findByUser(researcher.getUser()) != null) return null;
return researcherRepo.save(researcher);
}