diff options
| author | Wes Bos <wesbos@gmail.com> | 2018-03-22 21:11:15 -0400 |
|---|---|---|
| committer | Wes Bos <wesbos@gmail.com> | 2018-03-22 21:11:15 -0400 |
| commit | 169b0953ad91f22bb3b2bf2d80d87ebfbe30d45d (patch) | |
| tree | e66454fb1055440996ae01cb980394d84715bf59 /frontend/queries/index.js | |
| parent | a6af043686e4375d7944e91cae3d5b63c59edab0 (diff) | |
yay
Diffstat (limited to 'frontend/queries/index.js')
| -rw-r--r-- | frontend/queries/index.js | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/frontend/queries/index.js b/frontend/queries/index.js index 94070e8..bf3b9b1 100644 --- a/frontend/queries/index.js +++ b/frontend/queries/index.js @@ -140,21 +140,19 @@ export const REMOVE_ITEM_MUTATION = gql` } `; -export const UPDATE_LINK_MUTATION = gql` +export const UPDATE_ITEM_MUTATION = gql` ${itemDetails} mutation UpdateItem( $id: ID! - $title: String! - $description: String! - $price: Int! - # $fullPrice: Int! + $title: String + $description: String + $price: Int ) { updateItem( id: $id description: $description title: $title price: $price - # fullPrice: $fullPrice ) { ...itemDetails } |
