This commit is contained in:
parent
b372fd81d5
commit
dac79b53ca
|
@ -99,7 +99,7 @@ async def get_shouts_drafts(_, info):
|
||||||
.group_by(Shout.id)
|
.group_by(Shout.id)
|
||||||
)
|
)
|
||||||
shouts = [shout for [shout] in session.execute(q).unique()]
|
shouts = [shout for [shout] in session.execute(q).unique()]
|
||||||
return shouts
|
return { "shouts": shouts }
|
||||||
|
|
||||||
|
|
||||||
@mutation.field("create_shout")
|
@mutation.field("create_shout")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user