Skip to content

Commit

Permalink
add null check logic from ea view (#2423)
Browse files Browse the repository at this point in the history
  • Loading branch information
kspearrin committed Nov 18, 2022
1 parent a2ced35 commit d7ef22d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public IQueryable<EmergencyAccessDetails> Run(DatabaseContext dbContext)
CreationDate = x.ea.CreationDate,
RevisionDate = x.ea.RevisionDate,
GranteeName = x.grantee.Name,
GranteeEmail = x.grantee.Email,
GranteeEmail = x.grantee.Email ?? x.ea.Email,
GrantorName = x.grantor.Name,
GrantorEmail = x.grantor.Email,
});
Expand Down

0 comments on commit d7ef22d

Please sign in to comment.