Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit 36d8792

Browse files
committed
Organization#members has been renamed to membersWithRole
1 parent 4ef8aac commit 36d8792

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

lib/containers/user-mention-tooltip-container.js

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class UserMentionTooltip extends React.Component {
1717
company: PropTypes.string,
1818

1919
// Organizations
20-
members: PropTypes.shape({
20+
membersWithRole: PropTypes.shape({
2121
totalCount: PropTypes.number.isRequired,
2222
}),
2323
}).isRequired,
@@ -48,9 +48,17 @@ class UserMentionTooltip extends React.Component {
4848
export default createFragmentContainer(UserMentionTooltip, {
4949
repositoryOwner: graphql`
5050
fragment userMentionTooltipContainer_repositoryOwner on RepositoryOwner {
51-
login avatarUrl repositories { totalCount }
52-
... on User { company }
53-
... on Organization { members { totalCount } }
51+
login
52+
avatarUrl
53+
repositories { totalCount }
54+
... on User {
55+
company
56+
}
57+
... on Organization {
58+
membersWithRole {
59+
totalCount
60+
}
61+
}
5462
}
5563
`,
5664
});

0 commit comments

Comments
 (0)