From 590093a671b216baa57d7311a9cf6696589e546e Mon Sep 17 00:00:00 2001 From: Rob Cameron Date: Mon, 2 Nov 2020 13:46:07 -0800 Subject: [PATCH] Return all fields needed to update cache --- web/src/components/EditPostCell/EditPostCell.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/src/components/EditPostCell/EditPostCell.js b/web/src/components/EditPostCell/EditPostCell.js index 904e44a..236eda1 100644 --- a/web/src/components/EditPostCell/EditPostCell.js +++ b/web/src/components/EditPostCell/EditPostCell.js @@ -16,6 +16,9 @@ const UPDATE_POST_MUTATION = gql` mutation UpdatePostMutation($id: Int!, $input: UpdatePostInput!) { updatePost(id: $id, input: $input) { id + title + body + createdAt } } `