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
ae66428b
Commit
ae66428b
authored
4 years ago
by
Bartek Wrona
Browse files
Options
Downloads
Patches
Plain Diff
Fix to condenser_api.get_discussions_by_blog returing null response. Added missing return stmt.
parent
574cdd05
No related branches found
Branches containing commit
No related tags found
Tags containing commit
4 merge requests
!456
Release candidate v1 24
,
!230
Setup monitoring with pghero
,
!135
Enable postgres monitoring on CI server
,
!77
Get discussions by blog fix
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
hive/server/condenser_api/methods.py
+2
-0
2 additions, 0 deletions
hive/server/condenser_api/methods.py
with
2 additions
and
0 deletions
hive/server/condenser_api/methods.py
+
2
−
0
View file @
ae66428b
...
@@ -389,6 +389,8 @@ async def get_discussions_by_blog(context, tag: str = None, start_author: str =
...
@@ -389,6 +389,8 @@ async def get_discussions_by_blog(context, tag: str = None, start_author: str =
#posts_by_id[row['post_id']] = post
#posts_by_id[row['post_id']] = post
posts_by_id
.
append
(
post
)
posts_by_id
.
append
(
post
)
return
posts_by_id
@return_error_info
@return_error_info
@nested_query_compat
@nested_query_compat
async
def
get_discussions_by_feed
(
context
,
tag
:
str
=
None
,
start_author
:
str
=
''
,
async
def
get_discussions_by_feed
(
context
,
tag
:
str
=
None
,
start_author
:
str
=
''
,
...
...
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