فهرست منبع

fix volunteer creation

tripeur 4 سال پیش
والد
کامیت
bb4a49c560
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      src/main/java/fr/jaquin/bdlg/planner/controller/ApiController.java

+ 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);
     }
   }