Skip to content

Commit

Permalink
Fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
trizin authored Nov 30, 2023
1 parent e5dbb2c commit 806fc17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cron/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ async function sync_historical() {
throw new Error(`Folder name is not a number: ${folder}`);
}
try {
await sync(path.join(histDataDir, folder), roundNumber);
await sync(path.join(histDataDir, folder) + "/", roundNumber);
return `Sync completed for folder: ${folder}`;
} catch (error) {
return `Error syncing folder ${folder}: ${error.message}`;
Expand Down

0 comments on commit 806fc17

Please sign in to comment.