Skip to content

Commit

Permalink
Merge pull request #159 from ThatConference/fix/find-shared-profile
Browse files Browse the repository at this point in the history
Fix/find shared profile
  • Loading branch information
brettski authored Nov 30, 2023
2 parents 5072c49 + 2222eb7 commit 3d2bde5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
5 changes: 1 addition & 4 deletions src/graphql/resolvers/mutations/shareWithAddBy.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@ import * as Sentry from '@sentry/node';
import { dataSources } from '@thatconference/api';
import memberStore from '../../../dataSources/cloudFirestore/member';
import sharingWithStore from '../../../dataSources/cloudFirestore/sharingWith';
import {
findSharedProfile,
findSharedProfileProfileLoader,
} from '../../../lib/findSharedProfile';
import { findSharedProfileProfileLoader } from '../../../lib/findSharedProfile';

const dlog = debug('that:api:members:mutation:share-with-add-by');
const orderStore = dataSources.cloudFirestore.order;
Expand Down
4 changes: 2 additions & 2 deletions src/lib/findSharedProfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
}
Expand All @@ -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,
};
}
Expand Down

0 comments on commit 3d2bde5

Please sign in to comment.