feat(question): support multi-select questions (#7386)

This commit is contained in:
Dax 2026-01-08 17:32:21 -05:00 • committed by GitHub
commit 22dd70b75b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -52,7 +52,7 @@ export const QuestionRoute = new Hono()
requestID: z.string(),
}),
),
validator("json", z.object({ answers: z.array(z.string()) })),
validator("json", Question.Reply),
async (c) => {
const params = c.req.valid("param")
const json = c.req.valid("json")