Skip to content

Commit

Permalink
feat: add help creation date on getHelpRequest (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
guibrbs authored Jul 11, 2022
1 parent c543318 commit 08aac42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/repository/HelpRepository.js
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand Down

0 comments on commit 08aac42

Please sign in to comment.