fix: command type

This commit is contained in:
2026-02-09 11:02:03 +07:00
parent 04e0847d49
commit cc51d3766a
+1 -1
View File
@@ -2,7 +2,7 @@ import { z } from 'zod'
export const postDeleteTopic = z.object({ export const postDeleteTopic = z.object({
topic: z.string(), topic: z.string(),
type: z.enum(['state-reply', 'commands']), type: z.enum(['state-reply', 'command']),
}) })
export type PostDeletetopic = z.infer<typeof postDeleteTopic> export type PostDeletetopic = z.infer<typeof postDeleteTopic>