fix: command type
This commit is contained in:
@@ -2,7 +2,7 @@ import { z } from 'zod'
|
||||
|
||||
export const postDeleteTopic = z.object({
|
||||
topic: z.string(),
|
||||
type: z.enum(['state-reply', 'commands']),
|
||||
type: z.enum(['state-reply', 'command']),
|
||||
})
|
||||
export type PostDeletetopic = z.infer<typeof postDeleteTopic>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user