Permalink
Browse files

Merge pull request #63 from denji/patch-2

Update nStore API
  • Loading branch information...
2 parents e2484d7 + 2ef4313 commit 91d2b396e71a6f43a2f36b412bd8e6fdb41e1335 @cramforce committed Apr 2, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/oauth.js
View
@@ -1,7 +1,7 @@
var sys = require('sys')
var nStore = require('nStore');
-var store = nStore(__dirname + '/data/oauth.db');
+var store = nStore.new(__dirname + '/data/oauth.db');
var OAuth = require('oauth').OAuth;
@@ -81,4 +81,4 @@ exports.request = function (key, secret, oauth_callback_url, cb) {
cb(null, oauth_token, "http://api.twitter.com/oauth/authorize?oauth_token="+oauth_token, cont)
}
})
-}
+}

0 comments on commit 91d2b39

Please sign in to comment.