1
0

feat: Last update
All checks were successful
Remote Deploy / deploy (push) Successful in 6s

This commit is contained in:
2025-10-21 19:35:45 +02:00
parent 0a0b9ab436
commit a942818247
2 changed files with 7 additions and 3 deletions

View File

@@ -10,9 +10,7 @@ app.get('/', async (_, res) => {
const dataStr = await fs.readFile(path.join(process.cwd(), "db", "current.json"), "utf8");
const data = JSON.parse(dataStr);
data["status"] = {
currentUpdateSchedule: getCurrentInterval(),
};
data["status"]["currentUpdateSchedule"] = getCurrentInterval();
res.json(data);
});