Ver código fonte

fix volunteer creation

tripeur 4 anos atrás
pai
commit
bb4a49c560

+ 1 - 0
src/main/java/fr/jaquin/bdlg/planner/controller/ApiController.java

@@ -171,6 +171,7 @@ public class ApiController {
       throw new ResponseStatusException(HttpStatus.CONFLICT, "Email already existing");
     } else {
       volunteer.setEventUuid(uuid);
+      volunteer.setImported(false);
       return repositoryVolunteer.save(volunteer);
     }
   }