From 979c2aeb001f09e44bdde5a426f90dea9bcc6423 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Tue, 10 Oct 2023 10:47:49 +0200 Subject: [PATCH] Return only id and primary display --- .../server/src/utilities/rowProcessor/bbReferenceProcessor.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/server/src/utilities/rowProcessor/bbReferenceProcessor.ts b/packages/server/src/utilities/rowProcessor/bbReferenceProcessor.ts index c7b8998bad..c126530b8d 100644 --- a/packages/server/src/utilities/rowProcessor/bbReferenceProcessor.ts +++ b/packages/server/src/utilities/rowProcessor/bbReferenceProcessor.ts @@ -82,9 +82,6 @@ export async function processOutputBBReferences( return users.map(u => ({ _id: u._id, primaryDisplay: u.email, - email: u.email, - firstName: u.firstName, - lastName: u.lastName, })) default: