diff --git a/src/repository/HelpRepository.js b/src/repository/HelpRepository.js index 795aa499..aaa6c4be 100644 --- a/src/repository/HelpRepository.js +++ b/src/repository/HelpRepository.js @@ -89,7 +89,7 @@ class HelpRepository extends BaseRepository { $in: categoryArray.map((categoryString) => ObjectID(categoryString)), }; } - const helpFields = ['_id', 'title', 'description', 'categoryId', 'ownerId']; + const helpFields = ['_id', 'title', 'description', 'categoryId', 'ownerId', 'creationDate']; const user = { path: 'user', select: ['name', 'riskGroup', 'location.coordinates']