mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 13:27:08 +00:00
fix: update refreshToken
This commit is contained in:
parent
ce4504e251
commit
d656313811
1 changed files with 5 additions and 0 deletions
|
|
@ -361,6 +361,11 @@ export class BingAIClient {
|
|||
}
|
||||
this.accessToken = tokenJson.access_token
|
||||
Config.bingAiToken = this.accessToken
|
||||
if (tokenJson.refresh_token) {
|
||||
this.refreshToken = tokenJson.refresh_token
|
||||
Config.bingAiRefreshToken = this.refreshToken
|
||||
}
|
||||
|
||||
return tokenJson
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue