田爽 há 1 ano atrás
pai
commit
bc1b5b19d0
1 ficheiros alterados com 1 adições e 1 exclusões
  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,