From 10a93e55589ea056d57363ab9ffa3f6d5299b089 Mon Sep 17 00:00:00 2001 From: Chung Nguyen Thanh Date: Wed, 30 Oct 2024 00:02:44 +0700 Subject: [PATCH] Update updateLeaderboard.js --- .github/updateLeaderboard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/updateLeaderboard.js b/.github/updateLeaderboard.js index f4b1c79..1e7dc7e 100644 --- a/.github/updateLeaderboard.js +++ b/.github/updateLeaderboard.js @@ -61,7 +61,7 @@ module.exports = async ({ github, context }) => { console.log("Current length of recentPlaysRows after sorting:", recentPlaysRows.length); if (recentPlaysRows.length > 20) { - ecentPlaysRows = recentPlaysRows.slice(0, 20); + recentPlaysRows = recentPlaysRows.slice(0, 20); }