diff --git a/resolvers/create/editor.py b/resolvers/create/editor.py index 68bbe190..c81ff404 100644 --- a/resolvers/create/editor.py +++ b/resolvers/create/editor.py @@ -23,6 +23,8 @@ async def create_shout(_, info, inp): new_shout = Shout.create(**{ "title": inp.get("title"), "subtitle": inp.get('subtitle'), + "lead": inp.get('lead'), + "description": inp.get('description'), "body": inp.get("body", ''), "layout": inp.get("layout"), "authors": inp.get("authors", []), diff --git a/schema.graphql b/schema.graphql index 4d6334b2..70dfa8e7 100644 --- a/schema.graphql +++ b/schema.graphql @@ -98,6 +98,8 @@ input ShoutInput { slug: String title: String body: String + lead: String + description: String layout: String media: String authors: [String]