diff --git a/hive/server/bridge_api/methods.py b/hive/server/bridge_api/methods.py index edda1018cdc258a6c4aabdeee3a5e88ea16fdbc1..a7e1f7fe206ef4faf4c1bf2f59d82f7ff740d59f 100644 --- a/hive/server/bridge_api/methods.py +++ b/hive/server/bridge_api/methods.py @@ -105,7 +105,7 @@ async def _get_ranked_posts_for_observer_communities( db, sort:str, start_author @return_error_info async def _get_ranked_posts_for_communities( db, sort:str, community, start_author:str, start_permlink:str, limit, observer:str=None): async def execute_community_query(db, sql, limit): - return await db.query_all(sql, community=community, author=start_author, permlink=start_permlink, limit=limit ) + return await db.query_all(sql, community=community, author=start_author, permlink=start_permlink, limit=limit, observer=observer ) pinned_sql = "SELECT * FROM bridge_get_ranked_post_pinned_for_community( (:community)::VARCHAR, (:limit)::SMALLINT )" # missing paging which results in inability to get all pinned posts