diff --git a/src/modules/topics/schema.ts b/src/modules/topics/schema.ts index 90c661b..b03ac70 100644 --- a/src/modules/topics/schema.ts +++ b/src/modules/topics/schema.ts @@ -9,7 +9,7 @@ export type PostDeletetopic = z.infer export const patchTopic = z.object({ oldTopic: z.string(), newTopic: z.string(), - type: z.enum(['state-reply', 'commands']), + type: z.enum(['state-reply', 'command']), }) export type PatchTopic = z.infer