Skip to content
Snippets Groups Projects
Commit f1959cbf authored by Bartek Wrona's avatar Bartek Wrona
Browse files

Fix related to MR 137 targeted to latest_deployed_develop.

parent 1ec5b31c
Branches 7-add-token-to-beekeeper-api-calls
No related tags found
1 merge request!146Fix related to MR 137 targeted to latest_deployed_develop.
This commit is part of merge request !146. Comments created here will be created in the context of that merge request.
......@@ -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
......
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