mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 03:12:42 +01:00
restrict expor4t to only expose this pad ID
This commit is contained in:
parent
9e8bad021c
commit
5f9bbd0666
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue