Add some comments
This commit is contained in:
parent
626ebe6f3a
commit
2fcbbc9a01
|
@ -125,6 +125,7 @@ const tokenManager = (() => {
|
||||||
return postQuery(provider.tokenURL, body)
|
return postQuery(provider.tokenURL, body)
|
||||||
.then(result => {
|
.then(result => {
|
||||||
if (!result.refresh_token) {
|
if (!result.refresh_token) {
|
||||||
|
// reuse old refresh token
|
||||||
result.refresh_token = obj[k.REFRESH];
|
result.refresh_token = obj[k.REFRESH];
|
||||||
}
|
}
|
||||||
return handleTokenResult(result, k);
|
return handleTokenResult(result, k);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user