push authorID to author object and return via api...
This commit is contained in:
parent
daaa650a1b
commit
edd8b12049
1 changed files with 1 additions and 0 deletions
|
@ -1536,6 +1536,7 @@ exports.padUsers = function (padID, callback) {
|
|||
}
|
||||
var aid = sessioninfos[ix].author;
|
||||
authorManager.getAuthor( aid, function ( err, author ) {
|
||||
author.id = aid;
|
||||
authors.push( author );
|
||||
if ( authors.length === pad2sessions[padID].length ) {
|
||||
callback(null, {padUsers: authors});
|
||||
|
|
Loading…
Reference in a new issue