From ae66428b0043bdb3da3e6656398341a44dff3fed Mon Sep 17 00:00:00 2001
From: Bartek Wrona <wrona@syncad.com>
Date: Wed, 12 Aug 2020 00:15:57 +0200
Subject: [PATCH] Fix to condenser_api.get_discussions_by_blog returing null
 response. Added missing return stmt.

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

diff --git a/hive/server/condenser_api/methods.py b/hive/server/condenser_api/methods.py
index bf1a0c0ec..821c07ce7 100644
--- a/hive/server/condenser_api/methods.py
+++ b/hive/server/condenser_api/methods.py
@@ -389,6 +389,8 @@ async def get_discussions_by_blog(context, tag: str = None, start_author: str =
         #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 = '',
-- 
GitLab