feat(question): support multi-select questions (#7386)
This commit is contained in:
parent
b4f8de0c0a
commit
22dd70b75b
1 changed files with 1411 additions and 325 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in a new issue