Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions wizard/wizard.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ type AccessTokenResponse struct {

func (w *Wizard) LoginCode(c *gin.Context) error {
code := c.Query("code")
log.Println("LOGIN CODE: " + code)
if w.IsDbNil() {
return errors.New("db is nil")
}
Expand Down Expand Up @@ -135,9 +134,6 @@ func (w *Wizard) LoginCode(c *gin.Context) error {
return errors.New("Error requesting access token from github: " + err.Error())
}

bodyString := string(bodyBytes)
fmt.Println("post:\n", bodyString) //todo: remove - just for debugging

if resp.StatusCode != http.StatusOK {
return errors.New("status was not 200: but was, " + strconv.Itoa(resp.StatusCode))
}
Expand Down
Loading