| Index: remoting/webapp/crd/js/oauth2.js
|
| diff --git a/remoting/webapp/crd/js/oauth2.js b/remoting/webapp/crd/js/oauth2.js
|
| index 69edafc3af679888d4ce7e00ca651d03775c8915..6961b8d50b259652adf7053f6dd12d8b6a1b3ea9 100644
|
| --- a/remoting/webapp/crd/js/oauth2.js
|
| +++ b/remoting/webapp/crd/js/oauth2.js
|
| @@ -375,7 +375,7 @@ remoting.OAuth2.prototype.getToken = function() {
|
| resolve(that.getAccessTokenInternal_()['token']);
|
| }
|
| } else {
|
| - reject(remoting.Error.NOT_AUTHENTICATED);
|
| + reject(new remoting.Error(remoting.Error.Tag.NOT_AUTHENTICATED));
|
| }
|
| });
|
| };
|
|
|