summaryrefslogtreecommitdiff
path: root/js/codeq/problem_list.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/codeq/problem_list.js')
-rw-r--r--js/codeq/problem_list.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/codeq/problem_list.js b/js/codeq/problem_list.js
index 1b20fe2..eae86ed 100644
--- a/js/codeq/problem_list.js
+++ b/js/codeq/problem_list.js
@@ -260,7 +260,7 @@
}
codeq.wait(
Q.all([
- codeq.comms.getProblem(language, ref.g, ref.p), // TODO: use ref.id instead // the current solution
+ codeq.comms.getCurrentSolution(ref.id), // the current user's solution to the selected problem
getProblemData(language, ref.g, ref.p) // the (cached) result of processProblemData()
])
.spread(function (userProblemData, generalProblemData) {