From fad303318cea32da06f79f95486b979e7c47896e Mon Sep 17 00:00:00 2001
From: Bartek Wrona <wrona@syncad.com>
Date: Wed, 12 Aug 2020 00:24:08 +0200
Subject: [PATCH] Forced dumping vote informations in correct format

---
 hive/server/condenser_api/methods.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hive/server/condenser_api/methods.py b/hive/server/condenser_api/methods.py
index 821c07ce7..151cf7576 100644
--- a/hive/server/condenser_api/methods.py
+++ b/hive/server/condenser_api/methods.py
@@ -384,7 +384,7 @@ 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)
-- 
GitLab