feature: fix user admin related bugs
This commit is contained in:
@ -33,6 +33,26 @@ export const CREATE_USER_MUTATION = gql`
|
||||
code
|
||||
name
|
||||
}
|
||||
owned {
|
||||
teams {
|
||||
id
|
||||
name
|
||||
}
|
||||
projects {
|
||||
id
|
||||
name
|
||||
}
|
||||
}
|
||||
member {
|
||||
teams {
|
||||
id
|
||||
name
|
||||
}
|
||||
projects {
|
||||
id
|
||||
name
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
@ -1,8 +1,8 @@
|
||||
import gql from 'graphql-tag';
|
||||
|
||||
export const DELETE_USER_MUTATION = gql`
|
||||
mutation deleteUserAccount($userID: UUID!) {
|
||||
deleteUserAccount(input: { userID: $userID }) {
|
||||
mutation deleteUserAccount($userID: UUID!, $newOwnerID: UUID) {
|
||||
deleteUserAccount(input: { userID: $userID, newOwnerID: $newOwnerID }) {
|
||||
ok
|
||||
userAccount {
|
||||
id
|
||||
|
Reference in New Issue
Block a user