diff --git a/src/pages/stats.astro b/src/pages/stats.astro index 29af93f..9020f8b 100644 --- a/src/pages/stats.astro +++ b/src/pages/stats.astro @@ -17,7 +17,7 @@ const submissionsByLanguage = await db const [uniqueSenders] = await db .selectFrom("letters") - .select(({ fn }) => [fn.count("id").distinct().as("count")]) + .select(({ fn }) => [fn.count("email").distinct().as("count")]) .execute(); ---