More updates for mail configs

This commit is contained in:
KS Jannette
2026-02-18 07:31:02 -05:00
parent a0e1b43360
commit 8fb4fe7ce5
4 changed files with 8 additions and 140 deletions

View File

@@ -51,9 +51,9 @@ export const getTokenPath = (account: string): string => {
export const getSummaryPath = (account: string): string => {
if (account === "work") {
return path.join(PROJECT_ROOT, "summary.json");
return path.join(PROJECT_ROOT, "mailSummaries", "summary.json");
}
return path.join(PROJECT_ROOT, `summary-${account}.json`);
return path.join(PROJECT_ROOT, "mailSummaries", `summary-${account}.json`);
};
export const VALID_ACCOUNTS = ["work", "secondary"] as const;