making it work

This commit is contained in:
talksik
2023-09-06 13:57:32 -07:00
parent 7826fc21d5
commit 4fe0b6b276
6 changed files with 66 additions and 19 deletions
+2 -3
View File
@@ -23,9 +23,8 @@ func updateStatusHandler(w http.ResponseWriter, r *http.Request) {
println("changing status")
queryParams := r.URL.Query()
h_status := queryParams.Get("statush")
a_status := queryParams.Get("statusa")
a_status := r.FormValue("statusa")
h_status := r.FormValue("statush")
statusOne = h_status
statusTwo = a_status