| ... | ... |
@@ -184,7 +184,7 @@ function refreshTokens(refresh_token) {
|
| 184 | 184 |
//console.log('------xhr onloaded')
|
| 185 | 185 |
if (xhr.readyState === 4) {
|
| 186 | 186 |
//console.log('------xhr request returned with ' + xhr.status);
|
| 187 |
- response_json = JSON.parse(xhr.txt); |
|
| 187 |
+ response_json = JSON.parse(xhr.responseText); |
|
| 188 | 188 |
|
| 189 | 189 |
var tokenjson = {
|
| 190 | 190 |
access_token: response_json.access_token, |