From c5b3640d32eedcc35b618065177a77881afa1a3c Mon Sep 17 00:00:00 2001 From: Martin Donnelly Date: Mon, 21 Mar 2016 16:47:47 +0000 Subject: [PATCH] Tagging --- server/viewinsert.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/server/viewinsert.js b/server/viewinsert.js index 8cab5f3..3c13c2b 100644 --- a/server/viewinsert.js +++ b/server/viewinsert.js @@ -3,23 +3,23 @@ var nano = require('nano')('http://localhost:5984'); var db_name = 'keeper'; var keeper = nano.use(db_name); -alice.destroy('_design/titles', function(err, body) { +keeper.destroy('_design/titles', function(err, body) { if (!err) console.log(body); }); -alice.destroy('_design/reducedView', function(err, body) { +keeper.destroy('_design/reducedView', function(err, body) { if (!err) console.log(body); }); -alice.destroy('_design/taglist', function(err, body) { +keeper.destroy('_design/taglist', function(err, body) { if (!err) console.log(body); }); -alice.destroy('_design/getAllTags', function(err, body) { +keeper.destroy('_design/getAllTags', function(err, body) { if (!err) console.log(body); }); -alice.destroy('_design/getTagByKey', function(err, body) { +keeper.destroy('_design/getTagByKey', function(err, body) { if (!err) console.log(body); });