1const data = await axios.post(API_URL, {
2 query: `mutation updateUserCity($id: Int!, $city: String!) {
3 updateUserCity(userID: $id, city: $city){
4 id
5 name
6 age
7 city
8 knowledge{
9 language
10 frameworks
11 }
12 }
13 }`,
14 variables: {
15 id: 2,
16 city: 'Test'
17 }
18}, {
19 headers: {
20 'Content-Type': 'application/json'
21 }
22 })