removed fmt
This commit is contained in:
parent
69df101cb8
commit
261ebed165
1 changed files with 0 additions and 3 deletions
|
|
@ -6,7 +6,6 @@ import (
|
|||
"context"
|
||||
"encoding/json"
|
||||
"errors"
|
||||
"fmt"
|
||||
"html/template"
|
||||
"net/http"
|
||||
"strconv"
|
||||
|
|
@ -375,12 +374,10 @@ func (c *Context) RejectConsent(challenge string) (rdr string, err error) {
|
|||
}
|
||||
|
||||
func (c *Context) Consent(challenge string) (ci *consentInfo, err error) {
|
||||
fmt.Println(challenge)
|
||||
req := c.Srv.API.AdminApi.GetConsentRequest(context.Background()).
|
||||
ConsentChallenge(challenge)
|
||||
_, resp, err := req.Execute()
|
||||
if err != nil {
|
||||
fmt.Println(err)
|
||||
return
|
||||
}
|
||||
defer resp.Body.Close()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue