aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/java/com/juick/www/TwitterAuth.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-12-26 14:21:32 +0300
committerGravatar Vitaly Takmazov2016-12-26 14:21:32 +0300
commit76fd9227e138afdbbce57bf0845f7f90fe127edc (patch)
treea9a978e94e562f0148b21aee783db6505a13f47f /juick-www/src/main/java/com/juick/www/TwitterAuth.java
parent4364ebfa18586686f4230de2fb350777f05e42fa (diff)
dependency updates
Diffstat (limited to 'juick-www/src/main/java/com/juick/www/TwitterAuth.java')
-rw-r--r--juick-www/src/main/java/com/juick/www/TwitterAuth.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-www/src/main/java/com/juick/www/TwitterAuth.java b/juick-www/src/main/java/com/juick/www/TwitterAuth.java
index a0c1d9b0..35e00efc 100644
--- a/juick-www/src/main/java/com/juick/www/TwitterAuth.java
+++ b/juick-www/src/main/java/com/juick/www/TwitterAuth.java
@@ -78,7 +78,7 @@ public class TwitterAuth {
if (verifier != null && verifier.length() > 0) {
OAuth1RequestToken requestToken = new OAuth1RequestToken(request_token, request_token_secret);
OAuth1AccessToken accessToken = oAuthService.getAccessToken(requestToken, verifier);
- OAuthRequest oAuthRequest = new OAuthRequest(Verb.GET, VERIFY_URL, oAuthService);
+ OAuthRequest oAuthRequest = new OAuthRequest(Verb.GET, VERIFY_URL, oAuthService.getConfig());
oAuthService.signRequest(accessToken, oAuthRequest);
com.juick.www.twitter.User twitterUser = mapper.readValue(oAuthRequest.send().getBody(), com.juick.www.twitter.User.class);
if (UserQueries.linkTwitterAccount(sql, user, accessToken.getToken(), accessToken.getTokenSecret(),