Fix calling deactivate acc

This commit is contained in:
Lakhan Samani 2023-10-12 11:48:37 +05:30
parent 7ced811e6e
commit f906fb74af

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.