api-fix
All checks were successful
Deploy on push / deploy (push) Successful in 25s

This commit is contained in:
Untone 2024-05-06 21:18:19 +03:00
parent b372fd81d5
commit dac79b53ca

View File

@ -99,7 +99,7 @@ async def get_shouts_drafts(_, info):
.group_by(Shout.id)
)
shouts = [shout for [shout] in session.execute(q).unique()]
return shouts
return { "shouts": shouts }
@mutation.field("create_shout")