diff --git a/src/common/opportunity/pubsub.ts b/src/common/opportunity/pubsub.ts index b51fe05584..4022b104af 100644 --- a/src/common/opportunity/pubsub.ts +++ b/src/common/opportunity/pubsub.ts @@ -251,7 +251,7 @@ export const notifyCandidateOpportunityMatchRejected = async ({ const match = await queryReadReplica(con, async ({ queryRunner }) => { return queryRunner.manager.getRepository(OpportunityMatch).findOne({ - select: ['opportunityId', 'userId'], + select: ['opportunityId', 'userId', 'createdAt', 'updatedAt'], where: { opportunityId: data.opportunityId, userId: data.userId }, }); });