Commit 0488bfe9 authored by Sebastien Blaisot's avatar Sebastien Blaisot

Small nits from code review

parent 17d2a04a
Pipeline #2977 failed with stage
No preview for this file type
......@@ -49,7 +49,6 @@ func main() {
log.Info("Server started")
mux.HandleFunc("/auth", func(w http.ResponseWriter, r *http.Request) {
//fmt.Println("*******************")
log.Debug("New auth request")
query := r.URL.Query()
log.Debug("Query received - ", query)
......@@ -131,7 +130,7 @@ func main() {
//Check for code
codeStartIndex := strings.Index(pageContent, "code=")
if codeStartIndex == -1 {
log.Info("No code found (optionnal param)")
log.Info("No code found (optional param)")
} else {
codeStartIndex += 5
code = pageContent[codeStartIndex : codeStartIndex+30]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment