added layout and media fields to ShoutInput

This commit is contained in:
bniwredyc
2023-06-03 11:53:30 +02:00
parent 0697aff502
commit be7b79e181
2 changed files with 3 additions and 0 deletions

View File

@@ -24,6 +24,7 @@ async def create_shout(_, info, inp):
"title": inp.get("title"),
"subtitle": inp.get('subtitle'),
"body": inp.get("body", ''),
"layout": inp.get("layout"),
"authors": inp.get("authors", []),
"slug": inp.get("slug"),
"mainTopic": inp.get("mainTopic"),