fix default id
This commit is contained in:
parent
9412f09f71
commit
c6619f1253
1 changed files with 2 additions and 2 deletions
|
|
@ -98,7 +98,7 @@ namespace BMA.EHR.Application.Repositories.Leaves.TimeAttendants
|
|||
{
|
||||
Subject = subject_str,
|
||||
Body = body_str,
|
||||
ReceiverUserId = appr.Id,
|
||||
ReceiverUserId = appr.Id == Guid.Empty ? Guid.Parse("08dbc953-61ac-47eb-82d7-0e72df7669b5") : appr.Id,
|
||||
Payload = "",
|
||||
};
|
||||
_appContext.Set<Inbox>().Add(inbox);
|
||||
|
|
@ -106,7 +106,7 @@ namespace BMA.EHR.Application.Repositories.Leaves.TimeAttendants
|
|||
var noti = new Notification
|
||||
{
|
||||
Body = body_str,
|
||||
ReceiverUserId = appr.Id,
|
||||
ReceiverUserId = appr.Id == Guid.Empty ? Guid.Parse("08dbc953-61ac-47eb-82d7-0e72df7669b5") : appr.Id,
|
||||
Type = "",
|
||||
Payload = "",
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue