Skip to content

Commit

Permalink
modify other use of fetchUsersByIds
Browse files Browse the repository at this point in the history
  • Loading branch information
ArcAnya committed Apr 27, 2023
1 parent 75cede1 commit 2e6f049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/ShowCase/ShowCasePage/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const ShowCasePage = ({ pr }) => {
const result = await appState.openQPrismaClient.getPr(pr.id);
if (result.pr) {
const userResult = await appState.githubRepository.fetchUsersByIds(result.pr.contributorIds);
const contributors = userResult.map((githubData) => {
const contributors = userResult.data.nodes.map((githubData) => {
const address = result.pr.contributors.find((contributor) => contributor.userId === githubData.id);
return { ...githubData, address };
});
Expand Down

0 comments on commit 2e6f049

Please sign in to comment.