push authorID to author object and return via api...

This commit is contained in:
John McLear 2013-01-29 16:45:09 +00:00
parent daaa650a1b
commit edd8b12049

View file

@ -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});