Update pics_oauthproxy.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
58389a741a
commit
f6f1f4353c
|
|
@ -53,7 +53,7 @@ func PicsRevokeAcessToken(backendRevokeURL string, accessToken string, clientID
|
|||
}
|
||||
|
||||
if resp.StatusCode() != 200 {
|
||||
return fmt.Errorf("error revoking access token: %v", resp.Error())
|
||||
return fmt.Errorf("error revoking access token: status code %d, error: %v", resp.StatusCode(), resp.Error())
|
||||
}
|
||||
|
||||
return nil
|
||||
|
|
|
|||
Loading…
Reference in New Issue