@ -21,6 +21,9 @@ class GamesService
return{:status => 403}
end
game_challenge = Challenge.min.find(game.challenge_id)
unless current_user.is_certification_teacher || current_user.admin?
game_challenge.answer = ""
has_answer = game_challenge.answer.blank? ? false : true
game_challenge.answer = nil