mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
@@ -57,7 +57,10 @@ async function refreshToken(refresh_token) {
|
||||
data.append(key, element);
|
||||
}
|
||||
}
|
||||
const response = await got.post('https://oauth.secure.pixiv.net/auth/token', data, {
|
||||
const response = await got({
|
||||
method: 'post',
|
||||
url: 'https://oauth.secure.pixiv.net/auth/token',
|
||||
data: data,
|
||||
headers: {
|
||||
...maskHeader,
|
||||
...data.getHeaders(),
|
||||
|
||||
Reference in New Issue
Block a user