แก้ออกคำสั่ง

This commit is contained in:
Kittapath 2024-07-10 15:02:45 +07:00
parent 186a3ee76a
commit 43e6593599
5 changed files with 51 additions and 57 deletions

View file

@ -67,7 +67,7 @@ namespace BMA.EHR.Placement.Service.Controllers
// return Error(GlobalMessages.DataNotFound);
await _repositoryNoti.PushNotificationAsync(
req.ReceiverUserId,
Guid.Parse(req.ReceiverUserId),
req.Subject,
req.Body,
req.Payload,
@ -111,7 +111,7 @@ namespace BMA.EHR.Placement.Service.Controllers
}
[HttpPost("profile")]
public async Task<ActionResult<ResponseObject>> UpdatePropertyByUserKeycloak([FromBody] NotiRequest req)
public async Task<ActionResult<ResponseObject>> UpdatePropertyByUserProfile([FromBody] NotiRequest req)
{
// var profile = await _context.Profiles.FirstOrDefaultAsync(x => x.KeycloakId == req.ReceiverUserId);
// if (profile == null)
@ -138,8 +138,6 @@ namespace BMA.EHR.Placement.Service.Controllers
}
return Success();
// }
return Success();
}
[HttpPut("{id:length(36)}")]