Skip to content

Commit

Permalink
Fix issue with fox tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
m0ngr31 committed Jan 11, 2023
1 parent 449bc1b commit abab6df
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions services/fox-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ class FoxHandler {
}

if (!isAdobeFoxTokenValid(this.adobe_auth)) {
this.removeTokens();
await this.startProviderAuthFlow();
}

Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit abab6df

Please sign in to comment.