restrict expor4t to only expose this pad ID
This commit is contained in:
parent
9e8bad021c
commit
5f9bbd0666
|
@ -48,6 +48,7 @@ exports.getPadRaw = function(padId, callback){
|
||||||
|
|
||||||
// Get the author info
|
// Get the author info
|
||||||
db.get("globalAuthor:"+authorId, function(e, authorEntry){
|
db.get("globalAuthor:"+authorId, function(e, authorEntry){
|
||||||
|
authorEntry.padIDs = padId;
|
||||||
if(!e) data["globalAuthor:"+authorId] = authorEntry;
|
if(!e) data["globalAuthor:"+authorId] = authorEntry;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue