Skip to content

Commit

Permalink
feat: add createdAt updatedAt to response of community
Browse files Browse the repository at this point in the history
  • Loading branch information
Behzad-rabiei committed Dec 24, 2024
1 parent 9a6c255 commit 1702f38
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 @@ -22,7 +22,7 @@ const getCommunities = catchAsync(async function (req: IAuthRequest, res: Respon
}
options.populate = {
path: 'platforms',
select: '_id name metadata disconnectedAt',
select: '_id name metadata disconnectedAt createdAt updatedAt',
};

const communities = await communityService.getCommunities({});
Expand Down

0 comments on commit 1702f38

Please sign in to comment.