Skip to content

Commit f2a8310

Browse files
committed
Fix tests
1 parent b03bff7 commit f2a8310

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

build/ringcentral.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/ringcentral.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/ringcentral.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/ringcentral.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/platform/Platform.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ Platform.prototype._refresh = function() {
392392
if (!this._auth.refreshToken()) throw new Error('Refresh token is missing');
393393
if (!this._auth.refreshTokenValid()) throw new Error('Refresh token has expired');
394394

395-
if (this.appKey && this.appSecret) {
395+
if (this._appKey && this._appSecret) {
396396
return this._tokenRequest(Platform._tokenEndpoint, {
397397
"grant_type": "refresh_token",
398398
"refresh_token": this._auth.refreshToken(),

0 commit comments

Comments
 (0)