Skip to content
This repository was archived by the owner on Feb 27, 2024. It is now read-only.

Commit f62395d

Browse files
committed
Add profile fields to teams
1 parent fa1ec97 commit f62395d

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

api/wordpress/teams/queryTeamById.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,17 @@ const singleTeamFragment = gql`
1414
${seoPostFields}
1515
${authorPostFields}
1616
${featuredImagePostFields}
17+
teamMemberProfile {
18+
facebookUrl
19+
githubUrl
20+
instagramUrl
21+
linkedinUrl
22+
location
23+
websiteUrl
24+
twitterUrl
25+
title
26+
wordpressorgProfileUrl
27+
}
1728
}
1829
`
1930

api/wordpress/teams/queryTeamsArchive.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ const archiveTeamFragment = gql`
1010
${globalPostFields}
1111
excerpt
1212
${featuredImagePostFields}
13+
teamMemberProfile {
14+
easterEggUrl
15+
}
1316
}
1417
`
1518

0 commit comments

Comments
 (0)