diff --git a/server/viewinsert.js b/server/viewinsert.js index c570aec..0a480ba 100644 --- a/server/viewinsert.js +++ b/server/viewinsert.js @@ -52,7 +52,12 @@ keeper.insert( } } }, '_design/titles', function (error, response) { - console.log("_design/titles added"); + if (error) { + console.log(error); + } else + { + console.log(response); + } }); keeper.insert( @@ -63,7 +68,12 @@ keeper.insert( } } }, '_design/reducedView', function (error, response) { - console.log("_design/reducedView added"); + if (error) { + console.log(error); + } else + { + console.log(response); + } }); @@ -80,7 +90,7 @@ keeper.insert( console.log(error); } else { - console.log("_design/taglist added"); + console.log(response); } }); @@ -97,7 +107,7 @@ keeper.insert( console.log(error); } else { - console.log("_design/getAllTags added"); + console.log(response); } }); @@ -115,7 +125,7 @@ keeper.insert( console.log(error); } else { - console.log("_design/getTagByKey added"); + console.log(response); } });