removed JSON output
This commit is contained in:
2
index.ts
2
index.ts
@@ -72,7 +72,7 @@ app.post('/fetch-grades', async (req, res) => {
|
|||||||
try {
|
try {
|
||||||
const grades = await runSkywardBot(username, password);
|
const grades = await runSkywardBot(username, password);
|
||||||
|
|
||||||
writeFileSync(`${OUTPUT_DIR}/grades_${username}_${Date.now()}.json`, JSON.stringify(grades, null, 2));
|
// writeFileSync(`${OUTPUT_DIR}/grades_${username}_${Date.now()}.json`, JSON.stringify(grades, null, 2));
|
||||||
|
|
||||||
|
|
||||||
res.json({
|
res.json({
|
||||||
|
|||||||
Reference in New Issue
Block a user