noti ถ้าหา user ไม่เจอให้ส่งว่าง

This commit is contained in:
Kittapath 2023-09-22 16:24:22 +07:00
parent 88def52391
commit 10784590ac
2 changed files with 4 additions and 2 deletions

View file

@ -42,7 +42,8 @@ namespace BMA.EHR.Application.Repositories.MessageQueue
if (profile == null)
{
throw new Exception(GlobalMessages.DataNotFound);
return new List<InboxResponse>();
// throw new Exception(GlobalMessages.DataNotFound);
}
var data = await _dbContext.Set<Inbox>()