is-registered-hotfix
All checks were successful
deploy / deploy (push) Successful in 1m29s

This commit is contained in:
Untone 2024-02-06 11:34:00 +03:00
parent 40b8e020a3
commit db25ceb0b5
2 changed files with 2 additions and 2 deletions

View File

@ -651,7 +651,7 @@ type Query {
meta: Meta!
session(params: SessionQueryInput): AuthResponse!
profile: User!
is_registered(email: String): AuthResponse! # custom api
is_registered(email: String!): Response! # custom api
validate_jwt_token(params: ValidateJWTTokenInput!): ValidateJWTTokenResponse!
validate_session(params: ValidateSessionInput): ValidateSessionResponse!
# admin only apis

View File

@ -12,7 +12,7 @@ import (
"github.com/authorizerdev/authorizer/server/resolvers"
)
// Signup is the resolver for the signup field.
// 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)
}