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

Merge branch 'post_muted_merge_fixes' into 'develop'

Updated patterns and fixed condenser_api.get_discussions_by_feed call.

See merge request !382
parents 449e8ea0 5b6b6441
No related branches found
No related tags found
2 merge requests!456Release candidate v1 24,!382Updated patterns and fixed condenser_api.get_discussions_by_feed call.
......@@ -312,7 +312,7 @@ async def get_discussions_by_blog(context, tag: str = None, start_author: str =
async def get_discussions_by_feed_impl(db, account: str, start_author: str = '',
start_permlink: str = '', limit: int = 20, truncate_body: int = 0, observer:str=None):
"""Get a list of posts for an account's feed."""
sql = "SELECT * FROM bridge_get_by_feed_with_reblog((:account)::VARCHAR, (:author)::VARCHAR, (:permlink)::VARCHAR, (:limit)::INTEGER, (:observer)::VARCHAR)"
sql = "SELECT * FROM bridge_get_by_feed_with_reblog((:account)::VARCHAR, (:author)::VARCHAR, (:permlink)::VARCHAR, (:limit)::INTEGER)"
result = await db.query_all(sql, account=account, author=start_author, permlink=start_permlink, limit=limit, observer=observer)
posts = []
......
Subproject commit f8ac3e6776ef31f23d14a746b6ba6c281382e9cc
Subproject commit cbb2c1c95d56181310e25d2ddcb9baff1bdaa83f
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