Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
hivemind
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hive
hivemind
Commits
942a7216
Commit
942a7216
authored
5 years ago
by
roadscape
Browse files
Options
Downloads
Patches
Plain Diff
add missing payout methods to condenser_api.call
parent
f5a08f66
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
hive/server/condenser_api/call.py
+7
-0
7 additions, 0 deletions
hive/server/condenser_api/call.py
with
7 additions
and
0 deletions
hive/server/condenser_api/call.py
+
7
−
0
View file @
942a7216
...
@@ -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
'
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment