From 0d6dedacca5221044f62129b6a265ec59e53545b Mon Sep 17 00:00:00 2001 From: Luuk Boschker Date: Fri, 17 Jul 2020 13:31:32 +0200 Subject: [PATCH] Fix graphql create crowdaction mutation --- Frontend/src/pages/crowdactions/Create/Create.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Frontend/src/pages/crowdactions/Create/Create.tsx b/Frontend/src/pages/crowdactions/Create/Create.tsx index a147c8a97..f14e3e122 100644 --- a/Frontend/src/pages/crowdactions/Create/Create.tsx +++ b/Frontend/src/pages/crowdactions/Create/Create.tsx @@ -33,7 +33,7 @@ const CreateCrowdactionPage = () => { }; const [createCrowdaction] = useMutation(gql` - mutation Create($crowdaction: NewCrowdactionInputGraph) { + mutation Create($crowdaction: NewCrowdactionInputGraph!) { crowdaction { createCrowdaction(crowdaction: $crowdaction) { succeeded