Merge branch 'refs/heads/feat-login-website'
This commit is contained in:
commit
6d8b805f29
|
|
@ -545,6 +545,7 @@ func GetGiteaAccessTokenByCode(baseUrl, code string, redirectURI string, clientI
|
||||||
return resp, err2
|
return resp, err2
|
||||||
}
|
}
|
||||||
err = json.Unmarshal(respBytes, &resp)
|
err = json.Unmarshal(respBytes, &resp)
|
||||||
|
log.Println("gitea response:", string(respBytes))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Println("gitea response decode err:", err, " response content:", string(respBytes))
|
log.Println("gitea response decode err:", err, " response content:", string(respBytes))
|
||||||
return resp, err
|
return resp, err
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue