working on printable PDF Forms
All checks were successful
Tests / Run Go Tests (push) Successful in 30s

This commit is contained in:
2025-09-08 00:32:29 +02:00
parent 12ed9959cb
commit 2eab598348
12 changed files with 305 additions and 22 deletions

View File

@@ -56,7 +56,7 @@ func submitReport(w http.ResponseWriter, r *http.Request) {
}
func showWeeks(w http.ResponseWriter, r *http.Request) {
user, err := (*models.User).GetUserFromSession(nil, Session, r.Context())
user, err := models.GetUserFromSession(Session, r.Context())
if err != nil {
log.Println("No user found with the given personal number!")
http.Redirect(w, r, "/user/login", http.StatusSeeOther)