diff --git a/resolvers/editor.py b/resolvers/editor.py index e8c14f45..1ec6c8c2 100644 --- a/resolvers/editor.py +++ b/resolvers/editor.py @@ -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")