From 2eac639200817b2ea7a22d965d349132f68960df Mon Sep 17 00:00:00 2001
From: Thomas Citharel <tcit@tcit.fr>
Date: Mon, 18 Apr 2022 14:39:07 +0200
Subject: [PATCH] Fix front-end post creation

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
---
 js/src/graphql/post.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/js/src/graphql/post.ts b/js/src/graphql/post.ts
index 0b125ccff..e007070fd 100644
--- a/js/src/graphql/post.ts
+++ b/js/src/graphql/post.ts
@@ -98,7 +98,7 @@ export const FETCH_POST = gql`
 export const CREATE_POST = gql`
   mutation CreatePost(
     $title: String!
-    $body: String
+    $body: String!
     $attributedToId: ID!
     $visibility: PostVisibility
     $draft: Boolean