Skip to content
Snippets Groups Projects
Commit dae1c6a8 authored by Jason Salyers's avatar Jason Salyers
Browse files

[JES] Typo. And to think I used to be a spelling champion..

parent 5b321841
No related branches found
No related tags found
2 merge requests!456Release candidate v1 24,!370Jsalyers muting at sql level
...@@ -188,7 +188,7 @@ async def _get_ranked_posts_for_tag( db, sort:str, tag, start_author:str, start_ ...@@ -188,7 +188,7 @@ async def _get_ranked_posts_for_tag( db, sort:str, tag, start_author:str, start_
@return_error_info @return_error_info
async def _get_ranked_posts_for_all( db, sort:str, start_author:str, start_permlink:str, limit, observer:str=None): async def _get_ranked_posts_for_all( db, sort:str, start_author:str, start_permlink:str, limit, observer:str=None):
async def execute_query(db, sql, limit, observer=None): async def execute_query(db, sql, limit, observer=None):
return await db.query_all(sql, author=start_author, permlink=start_permlink, limit=limit, obsver=observer ) return await db.query_all(sql, author=start_author, permlink=start_permlink, limit=limit, observer=observer )
if sort == 'trending': if sort == 'trending':
sql = "SELECT * FROM bridge_get_ranked_post_by_trends( (:author)::VARCHAR, (:permlink)::VARCHAR, (:limit)::SMALLINT )" sql = "SELECT * FROM bridge_get_ranked_post_by_trends( (:author)::VARCHAR, (:permlink)::VARCHAR, (:limit)::SMALLINT )"
......
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