diff --git a/services/fxaccounts/FxAccountsKeys.jsm b/services/fxaccounts/FxAccountsKeys.jsm index 086c36e65317..9d95a66feca9 100644 --- a/services/fxaccounts/FxAccountsKeys.jsm +++ b/services/fxaccounts/FxAccountsKeys.jsm @@ -264,14 +264,6 @@ class FxAccountsKeys { ); } - /** - * Invalidate the FxA certificate, so that it will be refreshed from the server - * the next time it is needed. - */ - invalidateCertificate() { - return this._fxia.invalidateCertificate(); - } - /** * Derive the WebExtensions Sync Storage Key given the byte string kB. * diff --git a/services/sync/modules/browserid_identity.js b/services/sync/modules/browserid_identity.js index 566dfe7f63c0..0678a6af6c89 100644 --- a/services/sync/modules/browserid_identity.js +++ b/services/sync/modules/browserid_identity.js @@ -421,7 +421,7 @@ this.BrowserIDManager.prototype = { this._log.warn( "Token server returned 401, refreshing certificate and retrying token fetch" ); - await fxa.keys.invalidateCertificate(); + await fxa._internal.invalidateCertificate(); keys = await fxa.keys.getKeys(); token = await getToken(keys); }