diff --git a/packages/commonwealth/server/controllers/server_admin_methods/get_stats.ts b/packages/commonwealth/server/controllers/server_admin_methods/get_stats.ts index db5e321553f..e67493197c6 100644 --- a/packages/commonwealth/server/controllers/server_admin_methods/get_stats.ts +++ b/packages/commonwealth/server/controllers/server_admin_methods/get_stats.ts @@ -15,7 +15,7 @@ export type GetStatsOptions = { }; export type GetStatsResult = { - lastMonthNewCommunities: Array<{ id: string }>; + lastMonthNewCommunities: Array; totalStats: { numCommentsLastMonth: number; numThreadsLastMonth: number; @@ -106,7 +106,7 @@ export async function __getStats( ]); return { - lastMonthNewCommunities, + lastMonthNewCommunities: lastMonthNewCommunities.map(({ id }) => id), totalStats: { numCommentsLastMonth, numThreadsLastMonth,