From 2ef431344406cf9916009ae4b5bb9b7c21f3397e Mon Sep 17 00:00:00 2001 From: Daniel Hobson Date: Tue, 2 Apr 2013 22:10:35 +0300 Subject: [PATCH] Update nStore API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit nStore() to => nStore.new() --- lib/oauth.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/oauth.js b/lib/oauth.js index b839bc3..1a93e03 100644 --- a/lib/oauth.js +++ b/lib/oauth.js @@ -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) } }) -} \ No newline at end of file +}