fix(me): access to photo

This commit is contained in:
2025-02-05 11:38:18 +01:00
parent 972d599642
commit 3869ad50e9
3 changed files with 21 additions and 2 deletions

View File

@@ -131,6 +131,10 @@ public class MembreService {
.call(m -> Mutiny.fetch(m.getLicences()));
}
public Uni<MembreModel> getByAccountId(String subject) {
return repository.find("userId = ?1", subject).firstResult();
}
public Uni<MembreModel> getByLicence(long licence) {
return repository.find("licence = ?1", licence).firstResult();
}