Skip to content

Commit

Permalink
Compilation error fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
RicardoDiNu committed Apr 26, 2024
1 parent 025fecd commit 3ac43be
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/com/uniovi/controllers/GameController.java
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,8 @@ else if(questionService.checkAnswer(idQuestion, idAnswer)) {
session.setAttribute("hasJustAnswered", true);
gameSession.getNextQuestion();

return updateGame(model, session);
//return updateGame(model, session);
return updateGame(model, session, principal);
}

@GetMapping("/game/update")
Expand Down

0 comments on commit 3ac43be

Please sign in to comment.