From 642d50cf90cf57af0107a63f3d9c25a0b54902d4 Mon Sep 17 00:00:00 2001 From: Paul Hathaway Date: Wed, 24 Apr 2024 00:35:14 -0600 Subject: [PATCH] fixed unreturned submissions --- src/main/java/edu/byu/cs/controller/SubmissionController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/edu/byu/cs/controller/SubmissionController.java b/src/main/java/edu/byu/cs/controller/SubmissionController.java index bfadfcc57..dc7c43737 100644 --- a/src/main/java/edu/byu/cs/controller/SubmissionController.java +++ b/src/main/java/edu/byu/cs/controller/SubmissionController.java @@ -229,7 +229,7 @@ public static Submission getMostRecentSubmission(String netId, Phase phase) thro int count = countString == null ? -1 : Integer.parseInt(countString); // if they don't give a count, set it to -1, which gets all latest submissions Collection submissions = null; try { - DaoService.getSubmissionDao().getAllLatestSubmissions(count); + submissions = DaoService.getSubmissionDao().getAllLatestSubmissions(count); } catch (DataAccessException e) { LOGGER.error("Error getting latest submissions", e); halt(500);