fix Middleware
Some checks failed
release-dev / release-dev (push) Failing after 13s

This commit is contained in:
Suphonchai Phoonsawat 2025-07-04 14:57:25 +07:00
parent 7d431d7882
commit 0e74ad730c
2 changed files with 52 additions and 7 deletions

View file

@ -303,7 +303,7 @@ namespace BMA.EHR.Leave.Service.Controllers
if (oldData is not null)
{
return Error("ไม่สามารถบันทึกข้อมูล เนื่องจากมีข้อมูลในระบบแล้ว",StatusCodes.Status400BadRequest);
return Error("ไม่สามารถบันทึกข้อมูล เนื่องจากมีข้อมูลในระบบแล้ว");
}
var leaveBeginning = new LeaveBeginning();