From c55b9216d47d5d46ef1b130d6f3f6895c2522268 Mon Sep 17 00:00:00 2001 From: cubercsl <2014cais01@gmail.com> Date: Sun, 13 Oct 2024 22:11:22 +0800 Subject: [PATCH] fix typo `{team.shortName} failed {problem.letter}.{problem.name} due to AC` :) --- .../kotlin/org/icpclive/service/analytics/AnalyticsGenerator.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/src/main/kotlin/org/icpclive/service/analytics/AnalyticsGenerator.kt b/src/backend/src/main/kotlin/org/icpclive/service/analytics/AnalyticsGenerator.kt index d58342a4..21b4e1ae 100644 --- a/src/backend/src/main/kotlin/org/icpclive/service/analytics/AnalyticsGenerator.kt +++ b/src/backend/src/main/kotlin/org/icpclive/service/analytics/AnalyticsGenerator.kt @@ -60,7 +60,7 @@ class AnalyticsGenerator(jsonTemplatePath: Path?) { } is RunResult.ICPC -> { if (runResult.isFirstToSolveRun) { - messagesTemplates.firstToSolveRun.applyTemplate(substitute) + return messagesTemplates.firstToSolveRun.applyTemplate(substitute) } else if (runResult.verdict.isAccepted) { return if (substitute["{result.solvedProblems}"] != "") { messagesTemplates.acceptedWithSolvedProblemsRun.applyTemplate(substitute)