From ed8cc1d1e21e9a6d56ee934ed16257362ba3c332 Mon Sep 17 00:00:00 2001 From: Brett Slaski Date: Thu, 30 Nov 2023 11:32:49 -0600 Subject: [PATCH] fix: typo in findSharedProfile, email --- package.json | 2 +- src/lib/findSharedProfile.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index b487e26..0bc6eb4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "that-api-members", - "version": "4.3.0", + "version": "4.3.1", "description": "THATConference.com members service.", "main": "index.js", "engines": { diff --git a/src/lib/findSharedProfile.js b/src/lib/findSharedProfile.js index 204882d..b378442 100644 --- a/src/lib/findSharedProfile.js +++ b/src/lib/findSharedProfile.js @@ -19,7 +19,7 @@ export const findSharedProfile = async ({ memberId, firestore }) => { id: memberRecord.id, firstName: memberRecord.firstName, lastName: memberRecord.lastName, - email: memberRecord.lastName, + email: memberRecord.email, company: memberRecord.company, }; } @@ -43,7 +43,7 @@ export const findSharedProfileProfileLoader = async ({ id: memberRecord.id, firstName: memberRecord.firstName, lastName: memberRecord.lastName, - email: memberRecord.lastName, + email: memberRecord.email, company: memberRecord.company, }; }