This commit is contained in:
@@ -12,11 +12,6 @@ import (
|
||||
"github.com/authorizerdev/authorizer/server/resolvers"
|
||||
)
|
||||
|
||||
// IsRegistered is the resolver for the signup field.
|
||||
func (r *queryResolver) IsRegistered(ctx context.Context, email string) (*model.Response, error) {
|
||||
return resolvers.IsRegisteredResolver(ctx, email)
|
||||
}
|
||||
|
||||
// Signup is the resolver for the signup field.
|
||||
func (r *mutationResolver) Signup(ctx context.Context, params model.SignUpInput) (*model.AuthResponse, error) {
|
||||
return resolvers.SignupResolver(ctx, params)
|
||||
@@ -192,6 +187,11 @@ func (r *queryResolver) Profile(ctx context.Context) (*model.User, error) {
|
||||
return resolvers.ProfileResolver(ctx)
|
||||
}
|
||||
|
||||
// IsRegistered is the resolver for the signup field.
|
||||
func (r *queryResolver) IsRegistered(ctx context.Context, email string) (*model.Response, error) {
|
||||
return resolvers.IsRegisteredResolver(ctx, email)
|
||||
}
|
||||
|
||||
// ValidateJwtToken is the resolver for the validate_jwt_token field.
|
||||
func (r *queryResolver) ValidateJwtToken(ctx context.Context, params model.ValidateJWTTokenInput) (*model.ValidateJWTTokenResponse, error) {
|
||||
return resolvers.ValidateJwtTokenResolver(ctx, params)
|
||||
|
Reference in New Issue
Block a user