diff options
Diffstat (limited to 'queries/index.js')
| -rw-r--r-- | queries/index.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/queries/index.js b/queries/index.js index bc64d0e..87dd5d1 100644 --- a/queries/index.js +++ b/queries/index.js @@ -1,7 +1,7 @@ -import { gql } from 'react-apollo'; +import gql from 'graphql-tag'; import { itemDetails } from './fragments'; -export const CREATE_LINK_MUTATION = gql` +export const CREATE_ITEM_MUTATION = gql` ${itemDetails} mutation CreateLinkMutation($description: String!, $title: String!, $imageId: ID, $price: Int!) { createItem( |
