Skip to content

Commit 320a9d0

Browse files
committed
fix: sync scores in ascending order
1 parent f1572d6 commit 320a9d0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: src/sync/scores.ts

+3
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ export const syncScores = async function(api: Fast42): Promise<void> {
1818
},
1919
intra_score_id: null,
2020
},
21+
orderBy: {
22+
created_at: 'asc',
23+
},
2124
});
2225
let i = 0;
2326
const total = scores.length;

0 commit comments

Comments
 (0)