Merge pull request #401 from authorizerdev/fix/deactivate-acc
Fix calling deactivate acc
This commit is contained in:
commit
e941e4834a
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user