Skip to content

Commit c543a8f

Browse files
committed
enhancement(PeopleTool): add hosting activities
1 parent 9938e51 commit c543a8f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

server/graphql/v2/object/CommunityStats.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,11 @@ export const GraphQLCommunityStats = new GraphQLObjectType({
184184
ActivityTypes.SUBSCRIPTION_ACTIVATED,
185185
],
186186
},
187+
UserId && {
188+
UserId,
189+
CollectiveId: account.id,
190+
type: [ActivityTypes.ACTIVATED_HOSTING, ActivityTypes.DEACTIVATED_HOSTING],
191+
},
187192
{
188193
HostCollectiveId,
189194
FromCollectiveId: account.id,

0 commit comments

Comments
 (0)