Skip to content

Commit

Permalink
simple bug fix in Twitter connector
Browse files Browse the repository at this point in the history
  • Loading branch information
smurthas committed Apr 15, 2011
1 parent 9569cdf commit c301f49
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Connectors/Twitter/client.js
Expand Up @@ -275,10 +275,10 @@ function(req, res) {

function syncUsersInfo(friendsOrFollowers, req, res) {
if(!friendsOrFollowers || friendsOrFollowers.toLowerCase() != 'followers')
friendsOrFollowers = '/friends';
friendsOrFollowers = 'friends';

function done() {
locker.at(friendsOrFollowers, 3600);
locker.at('/' + friendsOrFollowers, 3600);
res.writeHead(200);
res.end();
}
Expand Down
2 changes: 1 addition & 1 deletion tests/connector-twitter-test.js
Expand Up @@ -49,7 +49,7 @@ function addFriendOrFollowersSync(friendsOrFollowers) {
});
return promise;
},
'and returns within 10 seconds':function(err, stat) {
'and returns within 60 seconds':function(err, stat) {
assert.isNull(err);
}
};
Expand Down

0 comments on commit c301f49

Please sign in to comment.