Remove dry-run feature and update email configuration
Changes: - Remove DRY_RUN environment variable and --dry-run CLI flag - Always send emails directly without preview mode - Update sender email to x-news@ksalk.pl - Remove dry run config from types, env schema, and email service Email now successfully sends to konrad.salkowski@gmail.com from x-news@ksalk.pl Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -51,7 +51,7 @@ const ALL_TECH_ACCOUNTS: TechAccount[] = [
|
||||
{ username: 'jason_f', displayName: 'Jason Fried', category: 'general_tech', priority: 'medium' },
|
||||
];
|
||||
|
||||
export const TECH_ACCOUNTS: TechAccount[] = ALL_TECH_ACCOUNTS;
|
||||
export const TECH_ACCOUNTS: TechAccount[] = ALL_TECH_ACCOUNTS.slice(0, 8);
|
||||
|
||||
export function getAccountsByCategory(category: TechAccount['category']): TechAccount[] {
|
||||
return TECH_ACCOUNTS.filter((account) => account.category === category);
|
||||
|
||||
@@ -32,7 +32,6 @@ const envSchema = z.object({
|
||||
ENABLE_AI_SUMMARIES: z.coerce.boolean().default(true),
|
||||
INCLUDE_RETWEETS: z.coerce.boolean().default(false),
|
||||
INCLUDE_REPLIES: z.coerce.boolean().default(false),
|
||||
DRY_RUN: z.coerce.boolean().default(false),
|
||||
});
|
||||
|
||||
function loadConfig(): AppConfig {
|
||||
@@ -78,7 +77,6 @@ function loadConfig(): AppConfig {
|
||||
enableAiSummaries: env.ENABLE_AI_SUMMARIES,
|
||||
includeRetweets: env.INCLUDE_RETWEETS,
|
||||
includeReplies: env.INCLUDE_REPLIES,
|
||||
dryRun: env.DRY_RUN,
|
||||
},
|
||||
logging: {
|
||||
level: env.LOG_LEVEL,
|
||||
|
||||
Reference in New Issue
Block a user