s/accessToken/access_token in authorization key name
This commit is contained in:
parent
cefbdb361e
commit
fcd1926758
|
@ -43,7 +43,7 @@ $(function() {
|
||||||
log('key: ' + key);
|
log('key: ' + key);
|
||||||
if(key && key.trim() !== '') {
|
if(key && key.trim() !== '') {
|
||||||
log('added accessToken ' + key);
|
log('added accessToken ' + key);
|
||||||
window.authorizations.add('key', new ApiKeyAuthorization('accessToken', key, 'query'));
|
window.authorizations.add('key', new ApiKeyAuthorization('access_token', key, 'query'));
|
||||||
accessToken = key;
|
accessToken = key;
|
||||||
$('.accessTokenDisplay').text('Token Set.').addClass('set');
|
$('.accessTokenDisplay').text('Token Set.').addClass('set');
|
||||||
$('.accessTokenDisplay').attr('data-tooltip', 'Current Token: ' + key);
|
$('.accessTokenDisplay').attr('data-tooltip', 'Current Token: ' + key);
|
||||||
|
|
Loading…
Reference in New Issue