Update config
This commit is contained in:
parent
ece698750f
commit
046bab2fa8
|
|
@ -157,7 +157,7 @@ public class API {
|
|||
try {
|
||||
JSONObject body = new JSONObject();
|
||||
String token = auth.getRefreshToken();
|
||||
if (token.startsWith("http")) token = OkHttp.string(token);
|
||||
if (token.startsWith("http")) token = OkHttp.string(token).replaceAll("[^A-Za-z0-9]", "");
|
||||
body.put("refresh_token", token);
|
||||
body.put("grant_type", "refresh_token");
|
||||
JSONObject object = new JSONObject(post("https://auth.aliyundrive.com/v2/account/token", body));
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1 +1 @@
|
|||
77583727515336727d2b5281b201f084
|
||||
1862134a5028c5720a5c9eb24245144a
|
||||
|
|
|
|||
Loading…
Reference in New Issue