Skip to content

Commit

Permalink
Merge pull request #377 from TogetherCrew/fix-platform-agnostic
Browse files Browse the repository at this point in the history
debug: working on the getMembersInteractionsNetworkGraph
  • Loading branch information
Behzad-rabiei authored Aug 11, 2024
2 parents b62acdd + 19a5977 commit 71565e7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/services/memberActivity.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -972,7 +972,7 @@ async function getMembersInteractionsNetworkGraph(
return interaction;
});

console.log('neo4jUsersInteractionsData'), neo4jUsersInteractionsData;
console.log('neo4jUsersInteractionsData', neo4jUsersInteractionsData);
// userRadius
const userRadiusQuery = `
MATCH () -[r:INTERACTED_WITH {platformId: "${platformId}"}]-()
Expand All @@ -990,7 +990,7 @@ async function getMembersInteractionsNetworkGraph(

return { userId, radius };
});
console.log('neo4jUserRadiusData'), neo4jUserRadiusData;
console.log('neo4jUserRadiusData', neo4jUserRadiusData);

// userStatus
const userStatusQuery = `
Expand All @@ -1011,7 +1011,7 @@ async function getMembersInteractionsNetworkGraph(
return { userId, stats };
});

console.log('neo4jUserStatusData'), neo4jUserStatusData;
console.log('neo4jUserStatusData', neo4jUserStatusData);

// usersInfo
const usersInfo = await guildConnection.models.GuildMember.find({ discordId: { $in: usersInNetworkGraph } });
Expand Down

0 comments on commit 71565e7

Please sign in to comment.