Files
twenty_crm/front/src/modules/users/graphql/mutations/removeProfilePicture.ts
Weiko 24e5132029 Moving queries into dedicated files (#1210)
* Moving queries into dedicated files

* fix ci
2023-08-14 19:31:20 -07:00

11 lines
244 B
TypeScript

import { gql } from '@apollo/client';
export const REMOVE_PROFILE_PICTURE = gql`
mutation RemoveProfilePicture($where: UserWhereUniqueInput!) {
updateUser(data: { avatarUrl: null }, where: $where) {
id
avatarUrl
}
}
`;