Files
twenty/front/src/modules/people/graphql/mutations/insertOnePerson.ts
Lucas Bordeau 9be069bedc Fixed bug for refectch activities and create activity on the currently filtered user. (#1493)
* Fixed bug for refectch activities and create activity on the currently filtered user.

* Refactor optimistif effect

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-09-10 23:02:51 -07:00

10 lines
211 B
TypeScript

import { gql } from '@apollo/client';
export const INSERT_ONE_PERSON = gql`
mutation InsertOnePerson($data: PersonCreateInput!) {
createOnePerson(data: $data) {
...personFieldsFragment
}
}
`;