s/accessToken/access_token in authorization key name

This commit is contained in:
Samuel Reed 2014-07-14 15:40:05 -05:00
parent cefbdb361e
commit fcd1926758
1 changed files with 1 additions and 1 deletions

View File

@ -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);