田爽 1 éve
szülő
commit
bc1b5b19d0
1 módosított fájl, 1 hozzáadás és 1 törlés
  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,