feat: improve form results and harden secrets

This commit is contained in:
2026-07-30 14:48:46 +07:00 Unverified
parent 6b0440602b
commit a014f72d0f
32 changed files with 471 additions and 11 deletions
+4
View File
@@ -50,6 +50,10 @@ export default async function FormsSubmitPage(
where: (s, { eq, and }) =>
and(eq(s.formId, form.id), eq(s.userDiscordId, discordId)),
orderBy: (s, { desc }) => [desc(s.submittedAt)],
columns: {
id: true,
submittedAt: true,
},
}),
getFormSubmissionStats([form.id], discordId),
]);