Skip to content

Commit 268303e

Browse files
Update src/config.ts
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent bdce56a commit 268303e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ config();
66

77
const envSchema = z.object({
88
// Required
9-
TELEGRAM_BOT_TOKEN: z.string(),
9+
TELEGRAM_BOT_TOKEN: z.string().min(1, "TELEGRAM_BOT_TOKEN environment variable must be set"),
1010

1111
// Sampling control
1212
SAMPLING_ENABLED: z.coerce.boolean().default(true),

0 commit comments

Comments
 (0)