fix(all/yomiroll): Fix invalid token (#2714)

This commit is contained in:
Yutatsu 2024-01-10 01:32:12 +06:00 committed by GitHub
parent 4efdc93a74
commit 79f5f09bee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ ext {
extName = 'Yomiroll'
pkgNameSuffix = 'all.kamyroll'
extClass = '.Yomiroll'
extVersionCode = 24
extVersionCode = 25
libVersion = '13'
}

View File

@ -143,7 +143,7 @@ class AccessTokenInterceptor(
.add("Content-Type", "application/x-www-form-urlencoded")
.add(
"Authorization",
"Basic a3ZvcGlzdXZ6Yy0teG96Y21kMXk6R21JSTExenVPVnRnTjdlSWZrSlpibzVuLTRHTlZ0cU8=",
"Basic b2VkYXJteHN0bGgxanZhd2ltbnE6OWxFaHZIWkpEMzJqdVY1ZFc5Vk9TNTdkb3BkSnBnbzE=",
)
.build()
val postBody = "grant_type=refresh_token&refresh_token=$refreshToken&scope=offline_access".toRequestBody(