Files
twenty/front/src/modules/companies/graphql/mutations/updateOneCompany.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

13 lines
276 B
TypeScript

import { gql } from '@apollo/client';
export const UPDATE_ONE_COMPANY = gql`
mutation UpdateOneCompany(
$where: CompanyWhereUniqueInput!
$data: CompanyUpdateInput!
) {
updateOneCompany(data: $data, where: $where) {
...companyFieldsFragment
}
}
`;