Skip to content

Commit

Permalink
fix member query
Browse files Browse the repository at this point in the history
  • Loading branch information
scottrepreneur committed Feb 14, 2023
1 parent 8c2d136 commit 331d236
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
11 changes: 0 additions & 11 deletions apps/frontend/gql/fragments/contactInfo.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,6 @@
/* eslint-disable import/prefer-default-export */
import { gql } from 'graphql-request';

export const CONTACT_INFO_FRAGMENT = gql`
fragment ContactInfo on contact_infos {
id
email
discord
github
telegram
twitter
}
`;

export const CONTACT_INFOS_FRAGMENT = gql`
fragment ContactInfos on contact_infos {
id
Expand Down
4 changes: 2 additions & 2 deletions apps/frontend/gql/queries/members.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { gql } from 'graphql-request';
import {
CONTACT_INFO_FRAGMENT,
CONTACT_INFOS_FRAGMENT,
MEMBER_DETAIL_FRAGMENT,
SLIM_MEMBER_DETAIL_FRAGMENT,
} from '../fragments';
Expand Down Expand Up @@ -36,7 +36,7 @@ export const MEMBER_LIST_QUERY = gql`
}
}
}
${CONTACT_INFO_FRAGMENT}
${CONTACT_INFOS_FRAGMENT}
`;

export const MEMBER_SLIM_LIST_QUERY = gql`
Expand Down

0 comments on commit 331d236

Please sign in to comment.