// championshipCancelEventHandler stops a running championship event and clears any saved results
championshipCancelEventHandler stops a running championship event and clears any saved results
// championshipCancelEventHandler stops a running championship event and clears any saved results
func championshipCancelEventHandler(w http.ResponseWriter, r *http.Request) {
	err := championshipManager.CancelEvent(chi.URLParam(r, "championshipID"), chi.URLParam(r, "eventID"))
	if err != nil {
		logrus.Errorf("Could not cancel championship event, err: %s", err)
		AddErrFlashQuick(w, r, "Couldn't cancel the Championship Event")
	} else {
		AddFlashQuick(w, r, "Event cancelled successfully!")
	}
	http.Redirect(w, r, r.Referer(), http.StatusFound)
}
func championshipCancelEventHandler ( w http . ResponseWriter , r * http . Request ) { err := championshipManager . CancelEvent ( chi . URLParam ( r , " " ) , chi . URLParam ( r , " " ) ) if err != nil { logrus . Errorf ( " " , err ) AddErrFlashQuick ( w , r , " " ) } else { AddFlashQuick ( w , r , " " ) } http . Redirect ( w , r , r . Referer ( ) , http . StatusFound ) }
championshipCancelEventHandler stops a running championship event and clears any saved results
championshipCancelEventHandler stops a running championship event and clears any saved results