fix: delete current user in deleteUser mutation
This commit is contained in:
@@ -54,7 +54,7 @@ type Mutation {
|
||||
updateStep(input: UpdateStepInput): Step
|
||||
deleteStep(input: DeleteStepInput): Step
|
||||
createUser(input: CreateUserInput): User
|
||||
deleteUser(input: DeleteUserInput): Boolean
|
||||
deleteUser: Boolean
|
||||
updateUser(input: UpdateUserInput): User
|
||||
forgotPassword(input: ForgotPasswordInput): Boolean
|
||||
resetPassword(input: ResetPasswordInput): Boolean
|
||||
@@ -340,10 +340,6 @@ input CreateUserInput {
|
||||
password: String!
|
||||
}
|
||||
|
||||
input DeleteUserInput {
|
||||
id: String
|
||||
}
|
||||
|
||||
input UpdateUserInput {
|
||||
email: String
|
||||
password: String
|
||||
|
Reference in New Issue
Block a user