mirror of
https://github.com/bitwarden/server
synced 2025-12-06 00:03:34 +00:00
add null check logic from ea view (#2423)
This commit is contained in:
@@ -29,7 +29,7 @@ public class EmergencyAccessDetailsViewQuery : IQuery<EmergencyAccessDetails>
|
|||||||
CreationDate = x.ea.CreationDate,
|
CreationDate = x.ea.CreationDate,
|
||||||
RevisionDate = x.ea.RevisionDate,
|
RevisionDate = x.ea.RevisionDate,
|
||||||
GranteeName = x.grantee.Name,
|
GranteeName = x.grantee.Name,
|
||||||
GranteeEmail = x.grantee.Email,
|
GranteeEmail = x.grantee.Email ?? x.ea.Email,
|
||||||
GrantorName = x.grantor.Name,
|
GrantorName = x.grantor.Name,
|
||||||
GrantorEmail = x.grantor.Email,
|
GrantorEmail = x.grantor.Email,
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user