Implement verify email using server url
- fix confirm password typo
This commit is contained in:
@@ -533,7 +533,7 @@ input SignUpInput {
|
||||
lastName: String
|
||||
email: String!
|
||||
password: String!
|
||||
cofirmPassword: String!
|
||||
confirmPassword: String!
|
||||
image: String
|
||||
}
|
||||
|
||||
@@ -3311,11 +3311,11 @@ func (ec *executionContext) unmarshalInputSignUpInput(ctx context.Context, obj i
|
||||
if err != nil {
|
||||
return it, err
|
||||
}
|
||||
case "cofirmPassword":
|
||||
case "confirmPassword":
|
||||
var err error
|
||||
|
||||
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("cofirmPassword"))
|
||||
it.CofirmPassword, err = ec.unmarshalNString2string(ctx, v)
|
||||
ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("confirmPassword"))
|
||||
it.ConfirmPassword, err = ec.unmarshalNString2string(ctx, v)
|
||||
if err != nil {
|
||||
return it, err
|
||||
}
|
||||
|
@@ -38,12 +38,12 @@ type Response struct {
|
||||
}
|
||||
|
||||
type SignUpInput struct {
|
||||
FirstName *string `json:"firstName"`
|
||||
LastName *string `json:"lastName"`
|
||||
Email string `json:"email"`
|
||||
Password string `json:"password"`
|
||||
CofirmPassword string `json:"cofirmPassword"`
|
||||
Image *string `json:"image"`
|
||||
FirstName *string `json:"firstName"`
|
||||
LastName *string `json:"lastName"`
|
||||
Email string `json:"email"`
|
||||
Password string `json:"password"`
|
||||
ConfirmPassword string `json:"confirmPassword"`
|
||||
Image *string `json:"image"`
|
||||
}
|
||||
|
||||
type UpdateProfileInput struct {
|
||||
|
@@ -47,7 +47,7 @@ input SignUpInput {
|
||||
lastName: String
|
||||
email: String!
|
||||
password: String!
|
||||
cofirmPassword: String!
|
||||
confirmPassword: String!
|
||||
image: String
|
||||
}
|
||||
|
||||
|
@@ -65,7 +65,5 @@ func (r *Resolver) Mutation() generated.MutationResolver { return &mutationResol
|
||||
// Query returns generated.QueryResolver implementation.
|
||||
func (r *Resolver) Query() generated.QueryResolver { return &queryResolver{r} }
|
||||
|
||||
type (
|
||||
mutationResolver struct{ *Resolver }
|
||||
queryResolver struct{ *Resolver }
|
||||
)
|
||||
type mutationResolver struct{ *Resolver }
|
||||
type queryResolver struct{ *Resolver }
|
||||
|
Reference in New Issue
Block a user