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

Fixed call to bridge_get_account_posts_by_blog at bridge_api/methods.py

parent 7925d8b6
No related branches found
No related tags found
2 merge requests!456Release candidate v1 24,!353Notification API performance optimizations
......@@ -284,7 +284,7 @@ async def get_account_posts(context, sort:str, account:str, start_author:str='',
sql = None
account_posts = True # set when only posts (or reblogs) of given account are supposed to be in results
if sort == 'blog':
sql = "SELECT * FROM bridge_get_account_posts_by_blog( (:account)::VARCHAR, (:author)::VARCHAR, (:permlink)::VARCHAR, (:limit)::SMALLINT )"
sql = "SELECT * FROM bridge_get_account_posts_by_blog( (:account)::VARCHAR, (:author)::VARCHAR, (:permlink)::VARCHAR, (:limit)::INTEGER )"
elif sort == 'feed':
return await _get_account_posts_by_feed(db, account, start_author, start_permlink, limit)
elif sort == 'posts':
......
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