fix: try to get data from api when logging

This commit is contained in:
rick 2021-09-04 13:13:18 +02:00
parent 1ff4d8a02a
commit 9c12084665
Signed by: Rick
GPG key ID: 2B593F087240EE99

View file

@ -23,7 +23,6 @@ func loginSpotify(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Location", "https://accounts.spotify.com/authorize?client_id="+ClientID+"&response_type=token&redirect_uri="+RedirectURI) w.Header().Set("Location", "https://accounts.spotify.com/authorize?client_id="+ClientID+"&response_type=token&redirect_uri="+RedirectURI)
w.WriteHeader(http.StatusSeeOther) w.WriteHeader(http.StatusSeeOther)
go getListPlaylist(r.FormValue("id"))
} }
/* /*