update name of merged calendars directory to calendars

This commit is contained in:
Ryan Mwangi 2024-10-24 14:21:21 +03:00
parent ff2862c4d1
commit 1e03f668c3
3 changed files with 1 additions and 2 deletions

View File

@ -8,8 +8,7 @@ import crypto from 'crypto';
const app = express();
app.use(express.json());
const CALENDARS_FILE = 'calendars.json';
const MERGED_CALENDARS_DIR = 'merged_calendars';
const MERGED_CALENDARS_DIR = 'calendar';
// Ensure the merged calendars directory exists
if (!fs.existsSync(MERGED_CALENDARS_DIR)) {