restrict expor4t to only expose this pad ID

This commit is contained in:
John McLear 2015-01-21 00:03:39 +00:00
parent 9e8bad021c
commit 5f9bbd0666
1 changed files with 1 additions and 0 deletions

View File

@ -48,6 +48,7 @@ exports.getPadRaw = function(padId, callback){
// Get the author info
db.get("globalAuthor:"+authorId, function(e, authorEntry){
authorEntry.padIDs = padId;
if(!e) data["globalAuthor:"+authorId] = authorEntry;
});