diff --git a/package-lock.json b/package-lock.json index 6a1fd97..b50280d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,7 @@ "@notionhq/client": "^2.2.3", "@sentry/node": "^7.50.0", "@temporalio/client": "^1.11.3", - "@togethercrew.dev/db": "^3.0.78", + "@togethercrew.dev/db": "^3.0.79", "@togethercrew.dev/tc-messagebroker": "^0.0.50", "@types/express-session": "^1.17.7", "@types/morgan": "^1.9.5", @@ -3658,9 +3658,9 @@ "dev": true }, "node_modules/@togethercrew.dev/db": { - "version": "3.0.78", - "resolved": "https://registry.npmjs.org/@togethercrew.dev/db/-/db-3.0.78.tgz", - "integrity": "sha512-/JiwW6ja4cATyn2tvho4xBe+hNEBqQ8w14M7Lm0Xqu6ckEagIk+4ptOLr7uDNUw9poDZ9ybYnzdqyGX7DDMSrw==", + "version": "3.0.79", + "resolved": "https://registry.npmjs.org/@togethercrew.dev/db/-/db-3.0.79.tgz", + "integrity": "sha512-l3CWsmnXZTwHs50/oN0bT+UCxJJSsKjGlgOYwJADQY8+bk3gz7kKTfSE7d8Jc873bVUO54kEfPLHI1/NjzArng==", "license": "ISC", "dependencies": { "discord.js": "^14.7.1", diff --git a/package.json b/package.json index c734165..cc0627f 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "@notionhq/client": "^2.2.3", "@sentry/node": "^7.50.0", "@temporalio/client": "^1.11.3", - "@togethercrew.dev/db": "^3.0.78", + "@togethercrew.dev/db": "^3.0.79", "@togethercrew.dev/tc-messagebroker": "^0.0.50", "@types/express-session": "^1.17.7", "@types/morgan": "^1.9.5", diff --git a/src/controllers/community.controller.ts b/src/controllers/community.controller.ts index ff8ebde..b54e88a 100644 --- a/src/controllers/community.controller.ts +++ b/src/controllers/community.controller.ts @@ -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({});