Permalink
Browse files

Update nStore API

nStore() to => nStore.new()
  • Loading branch information...
1 parent e7fce4a commit 2ef431344406cf9916009ae4b5bb9b7c21f3397e Daniel Hobson 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 2ef4313

Please sign in to comment.