From 23185fa29ec38ac45f8d91ff5c5de37a6b55dc2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolfgang=20Hu=C3=9F?= Date: Fri, 14 Jun 2019 20:25:25 +0200 Subject: [PATCH] Fix a problem in PostMutations.js which came in through merging the master --- webapp/graphql/PostMutations.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webapp/graphql/PostMutations.js b/webapp/graphql/PostMutations.js index e648e5c7b..ad629bee7 100644 --- a/webapp/graphql/PostMutations.js +++ b/webapp/graphql/PostMutations.js @@ -2,7 +2,7 @@ import gql from 'graphql-tag' export default () => { return { - CreatePost: gql(` + CreatePost: gql` mutation($title: String!, $content: String!, $language: String) { CreatePost(title: $title, content: $content, language: $language) { id @@ -13,8 +13,8 @@ export default () => { language } } - `), - UpdatePost: gql(` + `, + UpdatePost: gql` mutation($id: ID!, $title: String!, $content: String!, $language: String) { UpdatePost(id: $id, title: $title, content: $content, language: $language) { id