From 70befd23b1b6e3f8699dab6d60e7160831e3f7e3 Mon Sep 17 00:00:00 2001 From: t123yh Date: Thu, 24 Aug 2017 15:37:29 +0800 Subject: [PATCH] Fix score processing. --- libs/submissions_process.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/submissions_process.js b/libs/submissions_process.js index 57beeec..44d4503 100644 --- a/libs/submissions_process.js +++ b/libs/submissions_process.js @@ -19,7 +19,7 @@ const getRoughResult = (x, displayConfig) => { result: x.status, time: displayConfig.showUsage ? x.total_time : null, memory: displayConfig.showUsage ? x.max_memory : null, - score: displayConfig.showUsage ? x.score : null + score: displayConfig.showScore ? x.score : null }; } } else {