From 22f7b55c78f03a8d7a89e77abee919582dd9a4a1 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Thu, 5 Nov 2020 03:06:02 -0500 Subject: [PATCH] fixes --- src/commands/score.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/score.ts b/src/commands/score.ts index 779c719..c612753 100644 --- a/src/commands/score.ts +++ b/src/commands/score.ts @@ -36,7 +36,7 @@ export default class Score extends Command { const cloudServicesArray: number[] = []; const otherArray: number[] = []; const miscArray: number[] = []; - for (const hist of hists) { + for (const hist of hists.reverse()) { totalArray.push(hist.report.total); activityArray.push(hist.report.activity); moderationArray.push(hist.report.moderation); @@ -188,7 +188,7 @@ export default class Score extends Command { const cloudServicesArray: number[] = []; const otherArray: number[] = []; const miscArray: number[] = []; - for (const hist of hists) { + for (const hist of hists.reverse()) { totalArray.push(hist.report.total); activityArray.push(hist.report.activity); moderationArray.push(hist.report.moderation);