mirror of
https://github.com/Team254/cheesy-arena-lite.git
synced 2026-03-09 13:46:44 -04:00
Fix bug in match scheduling redirect.
This commit is contained in:
@@ -27,6 +27,7 @@ func (web *Web) scheduleGetHandler(w http.ResponseWriter, r *http.Request) {
|
|||||||
matchType := getMatchType(r)
|
matchType := getMatchType(r)
|
||||||
if matchType == "" {
|
if matchType == "" {
|
||||||
http.Redirect(w, r, "/setup/schedule?matchType=practice", 302)
|
http.Redirect(w, r, "/setup/schedule?matchType=practice", 302)
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if matchType != "practice" && matchType != "qualification" {
|
if matchType != "practice" && matchType != "qualification" {
|
||||||
|
|||||||
Reference in New Issue
Block a user