Skip to content

Commit

Permalink
Merge pull request #333 from TogetherCrew/fix/network-update
Browse files Browse the repository at this point in the history
Fix Network Graph Issue
  • Loading branch information
cyri113 authored Mar 29, 2024
2 parents ef00579 + 78b4552 commit bb8d653
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/memberActivity.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1011,7 +1011,7 @@ async function getMembersInteractionsNetworkGraph(
});

// usersInfo
const usersInfo = await guildConnection.models.GuildMember.find({ discordIds: { $in: usersInNetworkGraph } });
const usersInfo = await guildConnection.models.GuildMember.find({ discordId: { $in: usersInNetworkGraph } });
const rolesInNetworkGraph = usersInfo.flatMap((user) => user.roles);
const roles = await roleService.getRoles(guildConnection, { roleId: { $in: rolesInNetworkGraph } });

Expand Down

0 comments on commit bb8d653

Please sign in to comment.