Skip to content

Commit

Permalink
fix new communities list
Browse files Browse the repository at this point in the history
  • Loading branch information
rbennettcw committed Jan 3, 2024
1 parent 917450d commit 1bb0704
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export type GetStatsOptions = {
};

export type GetStatsResult = {
lastMonthNewCommunities: Array<{ id: string }>;
lastMonthNewCommunities: Array<string>;
totalStats: {
numCommentsLastMonth: number;
numThreadsLastMonth: number;
Expand Down Expand Up @@ -106,7 +106,7 @@ export async function __getStats(
]);

return {
lastMonthNewCommunities,
lastMonthNewCommunities: lastMonthNewCommunities.map(({ id }) => id),
totalStats: {
numCommentsLastMonth,
numThreadsLastMonth,
Expand Down

0 comments on commit 1bb0704

Please sign in to comment.