feat: refactor update-current-user mutation with the REST API endpoint

This commit is contained in:
kasia.oczkowska
2024-09-27 11:48:59 +01:00
parent 5769c82fca
commit d3caadf4af
9 changed files with 180 additions and 77 deletions

View File

@@ -1,10 +0,0 @@
import { gql } from '@apollo/client';
export const UPDATE_CURRENT_USER = gql`
mutation UpdateCurrentUser($input: UpdateCurrentUserInput) {
updateCurrentUser(input: $input) {
id
fullName
email
}
}
`;