summaryrefslogtreecommitdiff
path: root/src/main/java/com/stileeducation/markr/controller/TestResultsController.java
diff options
context:
space:
mode:
authorSzymon Szukalski <szymon@skas.io>2024-07-25 22:57:41 +1000
committerSzymon Szukalski <szymon@skas.io>2024-07-25 22:57:41 +1000
commit0b24d43fc4517e92025efc552ff7c1cc6ddaff2e (patch)
tree7fc8ef8d5e9f5e80ba4421ff4eb37967495070ba /src/main/java/com/stileeducation/markr/controller/TestResultsController.java
parentdca64d8fe7d65e22e2c3593433d698f392a39c2e (diff)
Increment the correct variables
Diffstat (limited to 'src/main/java/com/stileeducation/markr/controller/TestResultsController.java')
-rw-r--r--src/main/java/com/stileeducation/markr/controller/TestResultsController.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/com/stileeducation/markr/controller/TestResultsController.java b/src/main/java/com/stileeducation/markr/controller/TestResultsController.java
index 9b84e93..c713df6 100644
--- a/src/main/java/com/stileeducation/markr/controller/TestResultsController.java
+++ b/src/main/java/com/stileeducation/markr/controller/TestResultsController.java
@@ -35,6 +35,9 @@ public class TestResultsController {
@GetMapping(value = AGGREGATE_ENDPOINT, produces = "application/json")
public AggregateResponseDTO getAggregatedResults(@PathVariable("test-id") String testId) {
+
+ // Should return 404 if test is not found.
+
return testResultsService.aggregateTestResults(testId);
}