summaryrefslogtreecommitdiffstats
path: root/frontend/queries
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/queries')
-rw-r--r--frontend/queries/index.js10
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
}