fix: delete current user in deleteUser mutation

This commit is contained in:
Ali BARIN
2023-03-02 23:46:20 +00:00
parent 399cebda70
commit 387a849269
4 changed files with 8 additions and 27 deletions

View File

@@ -1,7 +1,7 @@
import { gql } from '@apollo/client';
export const DELETE_USER = gql`
mutation DeleteUser($input: DeleteUserInput) {
deleteUser(input: $input)
mutation DeleteUser {
deleteUser
}
`;