mirror of
https://github.com/bitwarden/server.git
synced 2025-04-06 05:28:15 -05:00
[SG-856] Remove nullable from RequestApproved property (#2448)
This commit is contained in:
parent
447066e417
commit
297f0c8b38
@ -24,7 +24,7 @@ public class AuthRequestResponseModel : ResponseModel
|
||||
Key = authRequest.Key;
|
||||
MasterPasswordHash = authRequest.MasterPasswordHash;
|
||||
CreationDate = authRequest.CreationDate;
|
||||
RequestApproved = authRequest.Approved;
|
||||
RequestApproved = authRequest.Approved ?? false;
|
||||
Origin = new Uri(vaultUri).Host;
|
||||
ResponseDate = authRequest.ResponseDate;
|
||||
}
|
||||
@ -38,6 +38,6 @@ public class AuthRequestResponseModel : ResponseModel
|
||||
public string MasterPasswordHash { get; set; }
|
||||
public DateTime CreationDate { get; set; }
|
||||
public DateTime? ResponseDate { get; set; }
|
||||
public bool? RequestApproved { get; set; }
|
||||
public bool RequestApproved { get; set; }
|
||||
public string Origin { get; set; }
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user