From c6f16497faf46742565870879f7fb77fa57977c2 Mon Sep 17 00:00:00 2001 From: mattwr18 Date: Wed, 27 Nov 2019 17:45:05 +0100 Subject: [PATCH] Update Post slug to be non-nullable --- backend/src/schema/types/type/Post.gql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/schema/types/type/Post.gql b/backend/src/schema/types/type/Post.gql index fd387981d..f034926da 100644 --- a/backend/src/schema/types/type/Post.gql +++ b/backend/src/schema/types/type/Post.gql @@ -113,7 +113,7 @@ type Post { objectId: String author: User @relation(name: "WROTE", direction: "IN") title: String! - slug: String + slug: String! content: String! contentExcerpt: String image: String