user preferences
All checks were successful
Deploy / deploy (push) Successful in 37s

This commit is contained in:
2025-12-25 21:24:41 +06:00
parent 6721f63d22
commit 2cbc75d7e3

View File

@@ -20,9 +20,9 @@ export default function (fastify: FastifyInstance) {
try { try {
const schema = z.object({ const schema = z.object({
toggleInputHotkey: z.string(), toggleInputHotkey: z.string().optional(),
toggleOutputHotkey: z.string(), toggleOutputHotkey: z.string().optional(),
volumes: z.record(z.string(), z.number()), volumes: z.record(z.string(), z.number()).optional(),
}) })
const input = schema.parse(req.body) const input = schema.parse(req.body)