diff --git a/lib/client/v1/user_endpoint.dart b/lib/client/v1/user_endpoint.dart index 290c97a..2d71bb1 100644 --- a/lib/client/v1/user_endpoint.dart +++ b/lib/client/v1/user_endpoint.dart @@ -30,8 +30,18 @@ extension UserEndpoint on V1 { Future register({ @required String username, String email, - String password, + @required String password, + @required String passwordVerify, + @required bool admin, + String captchaUuid, + String captchaAnswer, }) { + assert(username != null); + assert(password != null); + assert(passwordVerify != null); + assert(admin != null); + assert(((captchaUuid != null) ^ (captchaAnswer != null))); + throw UnimplementedError(); }