From 25cd4391383cefdfe91365532f2871bb39606d5e Mon Sep 17 00:00:00 2001 From: William Harrison Date: Sun, 7 May 2023 22:20:23 +0800 Subject: [PATCH] Update raw-api.js --- scripts/raw-api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/raw-api.js b/scripts/raw-api.js index 3ee959d..ec910b4 100644 --- a/scripts/raw-api.js +++ b/scripts/raw-api.js @@ -34,7 +34,7 @@ fs.readdir(directoryPath, function (err, files) { combinedArray = combinedArray.concat(dataArray); if (combinedArray.length === files.length) { - fs.writeFile("main/index.json", JSON.stringify(combinedArray), (err) => { + fs.writeFile("raw-api/index.json", JSON.stringify(combinedArray), (err) => { if (err) throw err; }); }