From e3353c4c44415c36ba428e02c2fd83b73b108c1e Mon Sep 17 00:00:00 2001 From: Ben Lerner Date: Tue, 16 Apr 2024 12:21:03 -0400 Subject: [PATCH] need to un-finalize the submission as well --- app/graphql/mutations/update_version_registrations.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/graphql/mutations/update_version_registrations.rb b/app/graphql/mutations/update_version_registrations.rb index 257f77f6c..92f16d712 100644 --- a/app/graphql/mutations/update_version_registrations.rb +++ b/app/graphql/mutations/update_version_registrations.rb @@ -71,6 +71,7 @@ def assign_student!(exam, version, student) student_reg.grading_comments.empty? && student_reg.grading_checks.empty?) student_reg.start_time = nil + student_reg.end_time = nil student_reg.grading_locks.destroy_all end