diff --git a/cli/Squidex.CLI/Squidex.CLI/Commands/App_Twitter.cs b/cli/Squidex.CLI/Squidex.CLI/Commands/App_Twitter.cs index 35fc288a..7974cce3 100644 --- a/cli/Squidex.CLI/Squidex.CLI/Commands/App_Twitter.cs +++ b/cli/Squidex.CLI/Squidex.CLI/Commands/App_Twitter.cs @@ -44,15 +44,14 @@ public async Task Auth(AuthArguments arguments) public async Task Token(TokenArguments arguments) { var requestToken = ReadToken(arguments.RequestToken, ".twitterToken", nameof(arguments.RequestToken)); - - var requestTokenSecret = ReadToken(arguments.RequestTokenSecret, ".twitterSecret", nameof(arguments.RequestTokenSecret)); + var requestSecret = ReadToken(arguments.RequestTokenSecret, ".twitterSecret", nameof(arguments.RequestTokenSecret)); var session = new OAuth.OAuthSession { ConsumerKey = arguments.ClientId, ConsumerSecret = arguments.ClientSecret, RequestToken = requestToken, - RequestTokenSecret = requestTokenSecret + RequestTokenSecret = requestSecret }; var tokens = await session.GetTokensAsync(arguments.PinCode);