diff --git a/hive/server/condenser_api/methods.py b/hive/server/condenser_api/methods.py index bf1a0c0ec63b0022ce0d4f29c98b5ef0a02893e4..151cf75762e2f86226a7afe218aa09cc103e8cc0 100644 --- a/hive/server/condenser_api/methods.py +++ b/hive/server/condenser_api/methods.py @@ -384,11 +384,13 @@ async def get_discussions_by_blog(context, tag: str = None, start_author: str = for row in result: row = dict(row) post = _condenser_post_object(row, truncate_body=truncate_body) - post['active_votes'] = await find_votes(context, {'author':post['author'], 'permlink':post['permlink']}) + post['active_votes'] = await find_votes(context, {'author':post['author'], 'permlink':post['permlink']}, votes_presentation = VotesPresentation.CondenserApi) post['active_votes'] = _mute_votes(post['active_votes'], Mutes.all()) #posts_by_id[row['post_id']] = post posts_by_id.append(post) + return posts_by_id + @return_error_info @nested_query_compat async def get_discussions_by_feed(context, tag: str = None, start_author: str = '',