Skip to content

Commit 3fb6e14

Browse files
committed
remove a property
1 parent a44c30b commit 3fb6e14

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

MangoAPI.BusinessLogic/ApiCommands/Users/RegisterRequest.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,11 @@ public record RegisterRequest
99
public RegisterRequest(
1010
string email,
1111
string displayName,
12-
string password,
13-
bool termsAccepted)
12+
string password)
1413
{
1514
Email = email;
1615
DisplayName = displayName;
1716
Password = password;
18-
TermsAccepted = termsAccepted;
1917
}
2018

2119
[DefaultValue("test@gmail.com")]
@@ -26,7 +24,4 @@ public RegisterRequest(
2624

2725
[DefaultValue("x[?6dME#xrp=nr7q")]
2826
public string Password { get; }
29-
30-
[DefaultValue(true)]
31-
public bool TermsAccepted { get; }
3227
}

0 commit comments

Comments
 (0)