Skip to content

Commit f906fb7

Browse files
committed
Fix calling deactivate acc
1 parent 7ced811 commit f906fb7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

server/graph/schema.resolvers.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ package graph
55

66
import (
77
"context"
8-
"fmt"
98

109
"github.com/authorizerdev/authorizer/server/graph/generated"
1110
"github.com/authorizerdev/authorizer/server/graph/model"
@@ -84,7 +83,7 @@ func (r *mutationResolver) ResendOtp(ctx context.Context, params model.ResendOTP
8483

8584
// DeactivateAccount is the resolver for the deactivate_account field.
8685
func (r *mutationResolver) DeactivateAccount(ctx context.Context) (*model.Response, error) {
87-
panic(fmt.Errorf("not implemented: DeactivateAccount - deactivate_account"))
86+
return resolvers.DeactivateAccountResolver(ctx)
8887
}
8988

9089
// DeleteUser is the resolver for the _delete_user field.

0 commit comments

Comments
 (0)