Skip to content

Commit

Permalink
Added call to use sites DB
Browse files Browse the repository at this point in the history
  • Loading branch information
sparkyfen committed Apr 1, 2014
1 parent c989c12 commit 68e6566
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/node/mock/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ function _reCreateDB(userView, sitesView, done) {
console.log('Error recreating database.'.red);
return done(err);
}
var sites = nano.db.use(settings.couchdb.sites);
sites.insert(sitesView, '_design/sites', function (err) {
if(err) {
console.log('Error recreating database.'.red);
Expand Down

0 comments on commit 68e6566

Please sign in to comment.