|
|
@@ -279,7 +279,7 @@ module.exports = function(crowi) {
|
|
|
//{path: 'liker', options: { limit: 11 }},
|
|
|
//{path: 'seenUsers', options: { limit: 11 }},
|
|
|
], function(err, pageData) {
|
|
|
- Page.populate(pageData, {path: 'lastUpdateUser', model: 'User', select: User.USER_PUBLIC_FIELDS}, function(err, data) {
|
|
|
+ Page.populate(pageData, {path: 'revision.author', model: 'User', select: User.USER_PUBLIC_FIELDS}, function(err, data) {
|
|
|
if (err) {
|
|
|
return reject(err);
|
|
|
}
|