From bed938bdf4f56c2874f03ea0b6854d26814b7f5e Mon Sep 17 00:00:00 2001 From: Matt Wood Date: Wed, 16 May 2018 12:29:20 -0500 Subject: [PATCH] fixed minor typo in post delete mutation --- basic/src/components/DetailPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basic/src/components/DetailPage.js b/basic/src/components/DetailPage.js index fb83af98a..aefd869fe 100644 --- a/basic/src/components/DetailPage.js +++ b/basic/src/components/DetailPage.js @@ -150,7 +150,7 @@ const PUBLISH_MUTATION = gql` ` const DELETE_MUTATION = gql` - mutation DeleteMutatoin($id: ID!) { + mutation DeleteMutation($id: ID!) { deletePost(id: $id) { id }