refactor: make telegram config optional for non-telegram setups
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -349,7 +349,7 @@ const logLevelSchema = z.enum(['debug', 'info', 'warn', 'error', 'silent']).defa
|
||||
|
||||
export const configSchema = z.object({
|
||||
log_level: logLevelSchema,
|
||||
telegram: telegramSchema,
|
||||
telegram: telegramSchema.optional(),
|
||||
discord: discordSchema,
|
||||
slack: slackSchema,
|
||||
whatsapp: whatsappSchema,
|
||||
|
||||
Reference in New Issue
Block a user