Merge pull request #401 from authorizerdev/fix/deactivate-acc

Fix calling deactivate acc
This commit is contained in:
Lakhan Samani 2023-10-12 11:49:11 +05:30 committed by GitHub
commit e941e4834a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,6 @@ package graph
import ( import (
"context" "context"
"fmt"
"github.com/authorizerdev/authorizer/server/graph/generated" "github.com/authorizerdev/authorizer/server/graph/generated"
"github.com/authorizerdev/authorizer/server/graph/model" "github.com/authorizerdev/authorizer/server/graph/model"
@ -84,7 +83,7 @@ func (r *mutationResolver) ResendOtp(ctx context.Context, params model.ResendOTP
// DeactivateAccount is the resolver for the deactivate_account field. // DeactivateAccount is the resolver for the deactivate_account field.
func (r *mutationResolver) DeactivateAccount(ctx context.Context) (*model.Response, error) { func (r *mutationResolver) DeactivateAccount(ctx context.Context) (*model.Response, error) {
panic(fmt.Errorf("not implemented: DeactivateAccount - deactivate_account")) return resolvers.DeactivateAccountResolver(ctx)
} }
// DeleteUser is the resolver for the _delete_user field. // DeleteUser is the resolver for the _delete_user field.