Skip to content
Snippets Groups Projects
Commit ae66428b authored by Bartek Wrona's avatar Bartek Wrona
Browse files

Fix to condenser_api.get_discussions_by_blog returing null response. Added missing return stmt.

parent 574cdd05
No related branches found
No related tags found
4 merge requests!456Release candidate v1 24,!230Setup monitoring with pghero,!135Enable postgres monitoring on CI server,!77Get discussions by blog fix
...@@ -389,6 +389,8 @@ async def get_discussions_by_blog(context, tag: str = None, start_author: str = ...@@ -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[row['post_id']] = post
posts_by_id.append(post) posts_by_id.append(post)
return posts_by_id
@return_error_info @return_error_info
@nested_query_compat @nested_query_compat
async def get_discussions_by_feed(context, tag: str = None, start_author: str = '', async def get_discussions_by_feed(context, tag: str = None, start_author: str = '',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment