Fixing build issues
This commit is contained in:
parent
4cbe281e4f
commit
f4c241a0aa
4
web.go
4
web.go
|
@ -92,8 +92,8 @@ func (web *WebServer) skip(w http.ResponseWriter, r *http.Request) {
|
||||||
if uname == nil {
|
if uname == nil {
|
||||||
fmt.Fprintf(w, "Invalid Token")
|
fmt.Fprintf(w, "Invalid Token")
|
||||||
} else {
|
} else {
|
||||||
value = html.UnescapeString(r.FormValue("value"))
|
value := html.UnescapeString(r.FormValue("value"))
|
||||||
playlist, err := strconv.ParseBool(playlist)
|
playlist, err := strconv.ParseBool(value)
|
||||||
if err == nil {
|
if err == nil {
|
||||||
skip(uname, false, playlist)
|
skip(uname, false, playlist)
|
||||||
fmt.Fprintf(w, "Success")
|
fmt.Fprintf(w, "Success")
|
||||||
|
|
Reference in a new issue