mirror of
https://github.com/bitwarden/server.git
synced 2025-04-04 20:50:21 -05:00
[SG-778] Add ResponseDate and make nullables (#2412)
This commit is contained in:
parent
30efd80684
commit
abaa084d01
@ -24,8 +24,9 @@ public class AuthRequestResponseModel : ResponseModel
|
||||
Key = authRequest.Key;
|
||||
MasterPasswordHash = authRequest.MasterPasswordHash;
|
||||
CreationDate = authRequest.CreationDate;
|
||||
RequestApproved = authRequest.Approved ?? false;
|
||||
RequestApproved = authRequest.Approved;
|
||||
Origin = new Uri(vaultUri).Host;
|
||||
ResponseDate = authRequest.ResponseDate;
|
||||
}
|
||||
|
||||
public string Id { get; set; }
|
||||
@ -36,6 +37,7 @@ public class AuthRequestResponseModel : ResponseModel
|
||||
public string Key { get; set; }
|
||||
public string MasterPasswordHash { get; set; }
|
||||
public DateTime CreationDate { get; set; }
|
||||
public bool RequestApproved { get; set; }
|
||||
public DateTime? ResponseDate { get; set; }
|
||||
public bool? RequestApproved { get; set; }
|
||||
public string Origin { get; set; }
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user