diff --git a/DigitalLearningSolutions.Data/DataServices/SupervisorDataService.cs b/DigitalLearningSolutions.Data/DataServices/SupervisorDataService.cs index 6dbc94777b..0f7be59b6b 100644 --- a/DigitalLearningSolutions.Data/DataServices/SupervisorDataService.cs +++ b/DigitalLearningSolutions.Data/DataServices/SupervisorDataService.cs @@ -893,14 +893,14 @@ FROM CandidateAssessments @"UPDATE CandidateAssessments SET DelegateUserID = @delegateUserId, SelfAssessmentID = @selfAssessmentId, - CompleteByDate = NULL, + CompleteByDate = @completeByDate, EnrolmentMethodId = 2, EnrolledByAdminId = @adminId, CentreID = @centreId, RemovedDate = NULL, NonReportable = CASE WHEN NonReportable = 1 THEN NonReportable ELSE @isLoggedInUser END WHERE ID = @existingCandidateAssessmentId", - new { delegateUserId, selfAssessmentId, adminId, centreId, existingCandidateAssessmentId, isLoggedInUser }); + new { delegateUserId, selfAssessmentId, adminId, centreId, existingCandidateAssessmentId, isLoggedInUser, completeByDate }); if (numberOfAffectedRows < 1) {