Skip to content
Snippets Groups Projects

Fix related to MR 137 targeted to latest_deployed_develop.

Merged Bartek Wrona requested to merge bridge_get_account_posts_fix into latest_deployed_develop
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -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, author=author, permlink=permlink)
assert post_id, 'invalid author/permlink'
return post_id
Loading