Rename old TWITTER_CLIENT_ID to new X_CLIENT_ID

This commit is contained in:
Honzapat_CZ 2024-11-12 19:18:40 +01:00 committed by GitHub
parent 35a9b1c4cf
commit 3f640a680c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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.X_CLIENT_ID!,
clientSecret: process.env.X_CLIENT_SECRET!,
});
const {
accessToken,