田爽 1 anno fa
parent
commit
bc1b5b19d0
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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,