diff --git a/node/db/API.js b/node/db/API.js index 9bc8e6667..8cdafdf18 100644 --- a/node/db/API.js +++ b/node/db/API.js @@ -469,7 +469,7 @@ listAllPads() returns a array with all pads Example returns: -{code: 0, message:"ok", data: ["pad1", "pad2"]} +{code: 0, message:"ok", data: {padIDs: []}} */ exports.listAllPads = function(callback) { diff --git a/node/db/Pad.js b/node/db/Pad.js index 22dfc7a2f..a6e90976c 100644 --- a/node/db/Pad.js +++ b/node/db/Pad.js @@ -354,7 +354,6 @@ Pad.prototype.init = function init(text, callback) { if(_this.id.indexOf("$")==-1) { groupID = "g.defaultGroupName"; - console.log(groupManager); groupManager.doesGroupExist(groupID, function(err, exists) { if(!exists)