diff --git a/services/fox-handler.ts b/services/fox-handler.ts index 8d0d80e..6ce47b2 100644 --- a/services/fox-handler.ts +++ b/services/fox-handler.ts @@ -138,7 +138,6 @@ class FoxHandler { } if (!isAdobeFoxTokenValid(this.adobe_auth)) { - this.removeTokens(); await this.startProviderAuthFlow(); } @@ -409,13 +408,6 @@ class FoxHandler { } }; - private removeTokens = () => { - this.adobe_auth = undefined; - this.adobe_prelim_auth_token = undefined; - - this.save(); - }; - private save = () => { fsExtra.writeJSONSync(path.join(configPath, 'fox_tokens.json'), _.omit(this, 'appConfig', 'entitlements'), { spaces: 2,