File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
DigitalLearningSolutions.Web/Controllers/SupervisorController Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ public IActionResult MyStaffList(
5151 var loggedInUserId = User . GetUserId ( ) ;
5252 var centreId = GetCentreId ( ) ;
5353 var supervisorEmail = GetUserEmail ( ) ;
54- var loggedInAdminUser = userDataService . GetAdminUserById ( loggedInUserId ! . GetValueOrDefault ( ) ) ;
54+ var loggedInAdminUser = userDataService . GetAdminUserById ( adminId ) ;
5555 var centreRegistrationPrompts = centreRegistrationPromptsService . GetCentreRegistrationPromptsByCentreId ( centreId ) ;
5656 var supervisorDelegateDetails = supervisorService . GetSupervisorDelegateDetailsForAdminId ( adminId ) ;
5757 var isSupervisor = User . GetCustomClaimAsBool ( CustomClaimTypes . IsSupervisor ) ?? false ;
You can’t perform that action at this time.
0 commit comments