feat: add licence state to membre find result
This commit is contained in:
@@ -107,7 +107,7 @@ public class LicenceService {
|
||||
return Panache.withTransaction(() -> repository.persist(model));
|
||||
}
|
||||
|
||||
public Uni<LicenceModel> setLicence(long id, LicenceForm form) {
|
||||
public Uni<LicenceModel> setLicence(long id, LicenceForm form) { // TODO add log
|
||||
if (form.getId() == -1) {
|
||||
return combRepository.findById(id).chain(membreModel -> {
|
||||
LicenceModel model = new LicenceModel();
|
||||
|
||||
Reference in New Issue
Block a user