MCPcopy Create free account
hub / github.com/CodeFox-Repo/codefox / registerUser

Method registerUser

backend/src/user/user.resolver.ts:63–71  ·  view source on GitHub ↗
(
    @Args('input') registerUserInput: RegisterUserInput,
  )

Source from the content-addressed store, hash-verified

61 async resendConfirmationEmail(
62 @Args('input') input: ResendEmailInput,
63 ): Promise<EmailConfirmationResponse> {
64 return this.authService.resendVerificationEmail(input.email);
65 }
66
67 @Mutation(() => User)
68 @Public()
69 async registerUser(
70 @Args('input') registerUserInput: RegisterUserInput,
71 ): Promise<User> {
72 if (registerUserInput.password.length < 6) {
73 throw new Error('Password must be at least 6 characters');
74 }

Callers

nothing calls this directly

Calls 1

registerMethod · 0.80

Tested by

no test coverage detected