1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-23 12:25:16 +01:00

MatchType proper => Match

This commit is contained in:
Kyle Spearrin 2018-02-28 21:37:06 -05:00
parent 3563a85318
commit c8aabf0b40
2 changed files with 5 additions and 5 deletions

View File

@ -50,19 +50,19 @@ namespace Bit.Core.Models.Api
public LoginApiUriModel(string uri)
{
Uri = uri;
MatchType = UriMatchType.BaseDomain;
Match = UriMatchType.BaseDomain;
}
public LoginApiUriModel(CipherLoginData.LoginDataUriModel uri)
{
Uri = uri.Uri;
MatchType = uri.MatchType;
Match = uri.Match;
}
[EncryptedString]
[StringLength(10000)]
public string Uri { get; set; }
public UriMatchType MatchType { get; set; }
public UriMatchType Match { get; set; }
}
}
}

View File

@ -30,11 +30,11 @@ namespace Bit.Core.Models.Data
public LoginDataUriModel(CipherLoginModel.LoginApiUriModel uri)
{
Uri = uri.Uri;
MatchType = uri.MatchType;
Match = uri.Match;
}
public string Uri { get; set; }
public UriMatchType MatchType { get; set; }
public UriMatchType Match { get; set; }
}
}
}