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({
|
||||
name: z.string(),
|
||||
webhookSignature: z.string().optional(),
|
||||
webhookSignature: z.string().default(''),
|
||||
notificationIds: z.array(z.string()).default([]),
|
||||
notifyFrequency: z.enum(['none', 'event', 'day', 'week', 'month']),
|
||||
});
|
||||
@ -49,6 +49,7 @@ export const FeedChannelEditForm: React.FC<FeedChannelEditFormProps> =
|
||||
resolver: zodResolver(addFormSchema),
|
||||
defaultValues: props.defaultValues ?? {
|
||||
name: 'New Channel',
|
||||
webhookSignature: '',
|
||||
notificationIds: [],
|
||||
notifyFrequency: 'none',
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user