feat: Some more parsers in the Absence
All checks were successful
Remote Deploy / deploy (push) Successful in 4s
All checks were successful
Remote Deploy / deploy (push) Successful in 4s
This commit is contained in:
@@ -159,7 +159,7 @@ export default async function parseThisShit(downloadedFilePath) {
|
||||
}
|
||||
|
||||
const data = parseAbsence(value, teacherMap);
|
||||
final[finalIndex]["ABSENCE"].push(data);
|
||||
final[finalIndex]["ABSENCE"].push(...data);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -202,7 +202,7 @@ export default async function parseThisShit(downloadedFilePath) {
|
||||
}
|
||||
}
|
||||
|
||||
fs.writeFileSync("db/current.json", JSON.stringify(data));
|
||||
fs.writeFileSync("db/current.json", JSON.stringify(data, null, 2));
|
||||
}
|
||||
|
||||
// parseThisShit("downloads/table.xlsx")
|
||||
parseThisShit("downloads/table.xlsx")
|
||||
|
||||
Reference in New Issue
Block a user