diff --git a/internal/handlers/handlers.go b/internal/handlers/handlers.go index b5db72f..3e8a3f4 100644 --- a/internal/handlers/handlers.go +++ b/internal/handlers/handlers.go @@ -47,7 +47,7 @@ func (h *CaptchaHandlers) Solve(w http.ResponseWriter, r *http.Request) { captchaID := pcaptcha.ID(server.GetURLParam(r, "captcha")) answer := pcaptcha.Answer(r.FormValue("answer")) - ok, err := captcha.Solve(pcaptcha.ID(captchaID), answer) + ok, err := captcha.Solve(captchaID, answer) if err != nil { w.WriteHeader(http.StatusNotFound) return