Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
nevo-david committed Nov 24, 2024
2 parents 3471a65 + b990694 commit e4ac191
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ export class XProvider extends SocialAbstract implements SocialProvider {

async refreshToken(refreshToken: string): Promise<AuthTokenDetails> {
const startingClient = new TwitterApi({
clientId: process.env.TWITTER_CLIENT_ID!,
clientSecret: process.env.TWITTER_CLIENT_SECRET!,
clientId: process.env.TWITTER_CLIENT_ID! || process.env.X_CLIENT_ID!,
clientSecret: process.env.TWITTER_CLIENT_SECRET! || process.env.X_CLIENT_SECRET!,
});
const {
accessToken,
Expand Down

0 comments on commit e4ac191

Please sign in to comment.