parent
5d4cfe0819
commit
9c6028d264
|
@ -23,6 +23,8 @@ async def create_shout(_, info, inp):
|
||||||
new_shout = Shout.create(**{
|
new_shout = Shout.create(**{
|
||||||
"title": inp.get("title"),
|
"title": inp.get("title"),
|
||||||
"subtitle": inp.get('subtitle'),
|
"subtitle": inp.get('subtitle'),
|
||||||
|
"lead": inp.get('lead'),
|
||||||
|
"description": inp.get('description'),
|
||||||
"body": inp.get("body", ''),
|
"body": inp.get("body", ''),
|
||||||
"layout": inp.get("layout"),
|
"layout": inp.get("layout"),
|
||||||
"authors": inp.get("authors", []),
|
"authors": inp.get("authors", []),
|
||||||
|
|
|
@ -98,6 +98,8 @@ input ShoutInput {
|
||||||
slug: String
|
slug: String
|
||||||
title: String
|
title: String
|
||||||
body: String
|
body: String
|
||||||
|
lead: String
|
||||||
|
description: String
|
||||||
layout: String
|
layout: String
|
||||||
media: String
|
media: String
|
||||||
authors: [String]
|
authors: [String]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user