Skip to content

Commit

Permalink
debug: working on the getMembersInteractionsNetworkGraph
Browse files Browse the repository at this point in the history
  • Loading branch information
Behzad-rabiei committed Aug 11, 2024
1 parent 81fcca5 commit 19a5977
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 19a5977

Please sign in to comment.