mirror of
https://github.com/bitwarden/server.git
synced 2025-02-02 23:41:21 +01:00
[PM-4316] Use byte for GlobalEvalentDomainsType in DomainsResponseModel (#3343)
This commit is contained in:
parent
e2d644f136
commit
eab0838edf
@ -43,12 +43,12 @@ public class DomainsResponseModel : ResponseModel
|
||||
IEnumerable<GlobalEquivalentDomainsType> excludedDomains,
|
||||
bool excluded)
|
||||
{
|
||||
Type = globalDomain;
|
||||
Type = (byte)globalDomain;
|
||||
Domains = domains;
|
||||
Excluded = excluded && (excludedDomains?.Contains(globalDomain) ?? false);
|
||||
}
|
||||
|
||||
public GlobalEquivalentDomainsType Type { get; set; }
|
||||
public byte Type { get; set; }
|
||||
public IEnumerable<string> Domains { get; set; }
|
||||
public bool Excluded { get; set; }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user