diff options
Diffstat (limited to 'internal/handlers/main.go')
-rw-r--r-- | internal/handlers/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/handlers/main.go b/internal/handlers/main.go index 4aa8eca..c04fd4e 100644 --- a/internal/handlers/main.go +++ b/internal/handlers/main.go @@ -154,7 +154,7 @@ func (h *Handlers) renderQuestion(w http.ResponseWriter, question *models.Questi } func (h *Handlers) MainPage(w http.ResponseWriter, r *http.Request) { - ubungs, err := h.repo.DBGetFirst10MixedUbungs() + ubungs, err := h.repo.DBListMixed(10) if err != nil { h.log.Error("failed to get mixed ubungs", "error", err) abortWithError(w, "Failed to load exercises") |