chore: fix ci problem
This commit is contained in:
parent
266b08f2da
commit
59b874644f
@ -30,7 +30,7 @@ import dayjs from 'dayjs';
|
|||||||
|
|
||||||
const addFormSchema = z.object({
|
const addFormSchema = z.object({
|
||||||
name: z.string(),
|
name: z.string(),
|
||||||
webhookSignature: z.string().optional(),
|
webhookSignature: z.string().default(''),
|
||||||
notificationIds: z.array(z.string()).default([]),
|
notificationIds: z.array(z.string()).default([]),
|
||||||
notifyFrequency: z.enum(['none', 'event', 'day', 'week', 'month']),
|
notifyFrequency: z.enum(['none', 'event', 'day', 'week', 'month']),
|
||||||
});
|
});
|
||||||
@ -49,6 +49,7 @@ export const FeedChannelEditForm: React.FC<FeedChannelEditFormProps> =
|
|||||||
resolver: zodResolver(addFormSchema),
|
resolver: zodResolver(addFormSchema),
|
||||||
defaultValues: props.defaultValues ?? {
|
defaultValues: props.defaultValues ?? {
|
||||||
name: 'New Channel',
|
name: 'New Channel',
|
||||||
|
webhookSignature: '',
|
||||||
notificationIds: [],
|
notificationIds: [],
|
||||||
notifyFrequency: 'none',
|
notifyFrequency: 'none',
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user