Skip to content

Commit

Permalink
Merge pull request #421 from TogetherCrew/420-telegram-metric-apis
Browse files Browse the repository at this point in the history
feat: add createdAt updatedAt to response of community
  • Loading branch information
Behzad-rabiei authored Dec 24, 2024
2 parents 83a8720 + 9a6c255 commit 78e088d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/community.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const getCommunity = catchAsync(async function (req: IAuthRequest, res: Response
if (community) {
await community?.populate({
path: 'platforms',
select: '_id name metadata disconnectedAt',
select: '_id name metadata disconnectedAt createdAt updatedAt',
});
community = await communityService.populateRoles(community);
}
Expand Down

0 comments on commit 78e088d

Please sign in to comment.