mirror of
https://github.com/bitwarden/server.git
synced 2025-05-20 11:04:31 -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;
|
Key = authRequest.Key;
|
||||||
MasterPasswordHash = authRequest.MasterPasswordHash;
|
MasterPasswordHash = authRequest.MasterPasswordHash;
|
||||||
CreationDate = authRequest.CreationDate;
|
CreationDate = authRequest.CreationDate;
|
||||||
RequestApproved = authRequest.Approved ?? false;
|
RequestApproved = authRequest.Approved;
|
||||||
Origin = new Uri(vaultUri).Host;
|
Origin = new Uri(vaultUri).Host;
|
||||||
|
ResponseDate = authRequest.ResponseDate;
|
||||||
}
|
}
|
||||||
|
|
||||||
public string Id { get; set; }
|
public string Id { get; set; }
|
||||||
@ -36,6 +37,7 @@ public class AuthRequestResponseModel : ResponseModel
|
|||||||
public string Key { get; set; }
|
public string Key { get; set; }
|
||||||
public string MasterPasswordHash { get; set; }
|
public string MasterPasswordHash { get; set; }
|
||||||
public DateTime CreationDate { 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; }
|
public string Origin { get; set; }
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user