Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

allow custom access_tokens per request

  • Loading branch information...
commit b98edcaf447b5c5d2c3f21ea06071706054fc43b 1 parent 8443681
@danzajdband authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/tuiter.js
View
2  lib/tuiter.js
@@ -86,7 +86,7 @@ var APIRequest = function(endpoint, params, callback) {
});
var req = request(endpoint.method, url)
- .sign(self.oa, self.access_token_key, self.access_token_secret)
+ .sign(self.oa, params.access_token_key || self.access_token_key, params.access_token_secret || self.access_token_secret)
.query(params)
.set('Accept', '*/*')
.set('User-Agent', 'Tuiter for node.js')
Please sign in to comment.
Something went wrong with that request. Please try again.