Update config

This commit is contained in:
FongMi 2023-03-08 20:46:36 +08:00
parent ece698750f
commit 046bab2fa8
3 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -1 +1 @@
77583727515336727d2b5281b201f084
1862134a5028c5720a5c9eb24245144a