diff options
author | Grail Finder (aider) <wohilas@gmail.com> | 2025-03-29 14:55:08 +0300 |
---|---|---|
committer | Grail Finder (aider) <wohilas@gmail.com> | 2025-03-29 14:55:08 +0300 |
commit | 0e37af2bb99ead053f79f97a08e90097b06d44a9 (patch) | |
tree | c3a8cbad747b91be3d416b06592cdb7c4507429f /internal/handlers | |
parent | fd984eb3173ba9f7f3c9b9e073881e91ce2b4361 (diff) |
fix: correct template scope and add question ID
Diffstat (limited to 'internal/handlers')
-rw-r--r-- | internal/handlers/main.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/handlers/main.go b/internal/handlers/main.go index 1f3f740..86d0915 100644 --- a/internal/handlers/main.go +++ b/internal/handlers/main.go @@ -61,6 +61,7 @@ func (h *Handlers) MainPage(w http.ResponseWriter, r *http.Request) { return } testQuestion := &models.Question{ + ID: 1, Text: "___ du keine Zweifel daran?", Options: []string{"Haben", "Hast", "Hat", "Habt"}, CorrectIndex: 1, |