feat: add club_id to LicenceModel for stats

This commit is contained in:
2025-07-05 21:19:57 +02:00
parent 3fd5ae3741
commit 9705182547
4 changed files with 11 additions and 3 deletions

View File

@@ -263,7 +263,7 @@ public class AffiliationService {
.call(l1 -> l1 != null && l1.stream().anyMatch(l -> l.getSaison() == saison) ?
Uni.createFrom().nullItem() :
Panache.withTransaction(() -> licenceRepository.persist(
new LicenceModel(null, m, saison, null, true)))));
new LicenceModel(null, m, club.getId(), saison, null, true)))));
}
public Uni<?> accept(AffiliationRequestSaveForm form) {