From 0041276fb435275e9ea7a9978be3eff1da73a09c Mon Sep 17 00:00:00 2001 From: Jason Streifling Date: Thu, 2 Nov 2023 17:53:35 +0100 Subject: [PATCH] makeHTMLQuestions zu makeResultQuestions umbenannt --- packages/session/handlerFuncs.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/session/handlerFuncs.go b/packages/session/handlerFuncs.go index 851296a..2b003a7 100644 --- a/packages/session/handlerFuncs.go +++ b/packages/session/handlerFuncs.go @@ -204,7 +204,7 @@ func (s *Session) HandleAnswer(db *data.DB, p *BriefingParticipant, i int64) htt SessionID: s.ID, BriefingParticipant: *p, }, - Questions: makeHTMLQuestions(s.Questions, p.GivenAnswers), + Questions: makeResultQuestions(s.Questions, p.GivenAnswers), } if data.NoIncorrect == 0 { @@ -248,7 +248,7 @@ func (s *Session) HandleRetry(p *BriefingParticipant, i *int) http.HandlerFunc { SessionID: s.ID, BriefingParticipant: *p, }, - Questions: makeHTMLQuestions(s.Questions, p.GivenAnswers), + Questions: makeResultQuestions(s.Questions, p.GivenAnswers), } template.Must(template.ParseFiles("templates/result.html")).ExecuteTemplate(w, "content", data)