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
Merge requests
!146
Fix related to MR 137 targeted to latest_deployed_develop.
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Fix related to MR 137 targeted to latest_deployed_develop.
bridge_get_account_posts_fix
into
latest_deployed_develop
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Bartek Wrona
requested to merge
bridge_get_account_posts_fix
into
latest_deployed_develop
4 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
latest_deployed_develop
latest_deployed_develop (base)
and
latest version
latest version
f1959cbf
1 commit,
4 years ago
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
hive/server/bridge_api/cursor.py
+
1
−
1
Options
@@ -21,7 +21,7 @@ async def _get_post_id(db, author, permlink):
INNER JOIN hive_accounts ha_a ON ha_a.id = hp.author_id
INNER JOIN hive_permlink_data hpd_p ON hpd_p.id = hp.permlink_id
WHERE ha_a.name = :author AND hpd_p.permlink = :permlink
"""
post_id
=
await
db
.
query_one
(
sql
,
a
=
author
,
p
=
permlink
)
post_id
=
await
db
.
query_one
(
sql
,
a
uthor
=
author
,
p
ermlink
=
permlink
)
assert
post_id
,
'
invalid author/permlink
'
return
post_id
Loading