fix sauvegarde réponse

Springboot
Victor SOULIER 1 year ago
parent 3f61e5252e
commit 28d4ac77b6

@ -162,6 +162,7 @@ public class PartieKahootController {
reponsePartie.setId(new ReponsePartieKahootKey(reponse.getQuestion().getId(), partieKahoot.getId(), joueur.getId()));
reponsePartie.setQuestion(reponse.getQuestion());
reponsePartie.setPartie(partieKahoot);
reponsePartie.setReponse(reponse);
reponsePartie.setJoueur(joueur);
this.reponsePartieKahootRepository.save(reponsePartie);

Loading…
Cancel
Save