Added headers field to state and added mutations to handle header list updates

This commit is contained in:
Andrew Bastin Kalloor Biju
2019-11-25 19:19:21 +00:00
committed by Andrew Bastin
parent 7d78d34de0
commit 122782f244
2 changed files with 18 additions and 1 deletions

View File

@@ -18,6 +18,7 @@ export default () => ({
contentType: '',
},
gql: {
url: 'https://rickandmortyapi.com/graphql'
url: 'https://rickandmortyapi.com/graphql',
headers: []
}
});