From 169b0953ad91f22bb3b2bf2d80d87ebfbe30d45d Mon Sep 17 00:00:00 2001 From: Wes Bos Date: Thu, 22 Mar 2018 21:11:15 -0400 Subject: yay --- frontend/queries/index.js | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'frontend/queries/index.js') 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 } -- cgit v1.3