Skip to content
Snippets Groups Projects
Commit a35dde43 authored by Jason Salyers's avatar Jason Salyers
Browse files

[JES] Forgot another await

parent b2237f2e
No related branches found
No related tags found
No related merge requests found
...@@ -90,7 +90,7 @@ async def get_post(context, author, permlink, observer=None): ...@@ -90,7 +90,7 @@ async def get_post(context, author, permlink, observer=None):
result = await db.query_all(sql, author=author, permlink=permlink) result = await db.query_all(sql, author=author, permlink=permlink)
assert len(result) == 1, 'invalid author/permlink or post not found in cache' assert len(result) == 1, 'invalid author/permlink or post not found in cache'
post = _condenser_post_object(result[0]) post = _condenser_post_object(result[0])
post['blacklists'] = Mutes.lists(post['author'], result[0]['author_rep'], observer, context) post['blacklists'] = await Mutes.lists(post['author'], result[0]['author_rep'], observer, context)
return post return post
@return_error_info @return_error_info
......
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