田爽 1 年之前
父節點
當前提交
9cfafc2416
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/Hotline.Api/Controllers/SchedulingController.cs

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

@@ -243,7 +243,7 @@ namespace Hotline.Api.Controllers
 						{
 							var scheduling = new Scheduling
 							{
-								SchedulingUserId = user.UserId,
+								SchedulingUserId = user.Id,
 								SchedulingUserName = user.UserName,
 								ShiftId = dtos.ShiftId,
 								ShiftName = shift.Name,
@@ -262,7 +262,7 @@ namespace Hotline.Api.Controllers
 					{
 						var scheduling = new Scheduling
 						{
-							SchedulingUserId = user.UserId,
+							SchedulingUserId = user.Id,
 							SchedulingUserName = user.UserName,
 							ShiftId = dtos.ShiftId,
 							ShiftName = dtos.ShiftName,