Skip to content
Snippets Groups Projects
Commit 942a7216 authored by roadscape's avatar roadscape
Browse files

add missing payout methods to condenser_api.call

parent f5a08f66
No related branches found
No related tags found
No related merge requests found
...@@ -21,6 +21,9 @@ from hive.server.condenser_api.methods import ( ...@@ -21,6 +21,9 @@ from hive.server.condenser_api.methods import (
get_discussions_by_comments, get_discussions_by_comments,
get_replies_by_last_update, get_replies_by_last_update,
get_post_discussions_by_payout,
get_comment_discussions_by_payout,
get_discussions_by_author_before_date, get_discussions_by_author_before_date,
get_blog, get_blog,
get_blog_entries, get_blog_entries,
...@@ -112,6 +115,10 @@ async def call(context, api, method, params): ...@@ -112,6 +115,10 @@ async def call(context, api, method, params):
return await get_discussions_by_promoted(context, **_strict_query(params)) return await get_discussions_by_promoted(context, **_strict_query(params))
elif method == 'get_discussions_by_created': elif method == 'get_discussions_by_created':
return await get_discussions_by_created(context, **_strict_query(params)) return await get_discussions_by_created(context, **_strict_query(params))
elif method == 'get_post_discussions_by_payout':
return await get_post_discussions_by_payout(context, **_strict_query(params))
elif method == 'get_comment_discussions_by_payout':
return await get_comment_discussions_by_payout(context, **_strict_query(params))
# Account discussion queries # Account discussion queries
elif method == 'get_discussions_by_blog': elif method == 'get_discussions_by_blog':
......
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