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

[JES] Add get_post to new blacklist processing for a test

parent bdef696d
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):
result = await db.query_all(sql, author=author, permlink=permlink)
assert len(result) == 1, 'invalid author/permlink or post not found in cache'
post = _condenser_post_object(result[0])
post['blacklists'] = Mutes.lists(post['author'], result[0]['author_rep'])
post['blacklists'] = Mutes.lists(post['author'], result[0]['author_rep'], observer, context)
return post
@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