田爽 hai 1 ano
pai
achega
bc1b5b19d0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Hotline.Api/Controllers/SchedulingController.cs

+ 1 - 1
src/Hotline.Api/Controllers/SchedulingController.cs

@@ -265,7 +265,7 @@ namespace Hotline.Api.Controllers
 							SchedulingUserId = user.Id,
 							SchedulingUserName = user.UserName,
 							ShiftId = dtos.ShiftId,
-							ShiftName = dtos.ShiftName,
+							ShiftName = shift.Name,
 							SchedulingTime = dtos.SchedulingTime,
 							WorkingTime = shift.WorkingTime,
 							OffDutyTime = shift.OffDutyTime,