1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-06 21:48:12 -05: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) public LoginApiUriModel(string uri)
{ {
Uri = uri; Uri = uri;
MatchType = UriMatchType.BaseDomain; Match = UriMatchType.BaseDomain;
} }
public LoginApiUriModel(CipherLoginData.LoginDataUriModel uri) public LoginApiUriModel(CipherLoginData.LoginDataUriModel uri)
{ {
Uri = uri.Uri; Uri = uri.Uri;
MatchType = uri.MatchType; Match = uri.Match;
} }
[EncryptedString] [EncryptedString]
[StringLength(10000)] [StringLength(10000)]
public string Uri { get; set; } 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) public LoginDataUriModel(CipherLoginModel.LoginApiUriModel uri)
{ {
Uri = uri.Uri; Uri = uri.Uri;
MatchType = uri.MatchType; Match = uri.Match;
} }
public string Uri { get; set; } public string Uri { get; set; }
public UriMatchType MatchType { get; set; } public UriMatchType Match { get; set; }
} }
} }
} }