From 930319d1432f57b0b6a05000df5b095750ba20f6 Mon Sep 17 00:00:00 2001 From: prokopparuzek Date: Thu, 23 Oct 2025 11:15:24 +0200 Subject: [PATCH] konec --- klice.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/klice.go b/klice.go index 74ff75d..37e08c8 100644 --- a/klice.go +++ b/klice.go @@ -293,8 +293,8 @@ func qrHandler(w http.ResponseWriter, r *http.Request) { var coordinates, positionHint string err = db.QueryRow("SELECT gps, clue FROM POSITIONS WHERE id = (SELECT position_id FROM TASKS WHERE id = (SELECT id FROM TASKS WHERE order_num = ? AND difficulty_level = (SELECT difficulty_level FROM teams WHERE id = ?)))", order+1, teamID).Scan(&coordinates, &positionHint) if err == sql.ErrNoRows { - coordinates = "" - positionHint = "" + coordinates = "Konec, vraƄte se." + positionHint = "KONEC" } else if err != nil { http.Error(w, "Could not retrieve coordinates", http.StatusInternalServerError) return