Skip to content

Commit

Permalink
fix: sync scores in ascending order
Browse files Browse the repository at this point in the history
  • Loading branch information
FreekBes committed Dec 23, 2024
1 parent f1572d6 commit 320a9d0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/sync/scores.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ export const syncScores = async function(api: Fast42): Promise<void> {
},
intra_score_id: null,
},
orderBy: {
created_at: 'asc',
},
});
let i = 0;
const total = scores.length;
Expand Down

0 comments on commit 320a9d0

Please sign in to comment.