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

[JES] Add a check for valid observer

parent e149b557
No related branches found
No related tags found
2 merge requests!456Release candidate v1 24,!370Jsalyers muting at sql level
......@@ -184,6 +184,7 @@ async def get_posts_by_given_sort(context, sort: str, start_author: str = '', st
start_permlink = valid_permlink(start_permlink, allow_empty=True),
limit = valid_limit(limit, 100, 20),
tag = valid_tag(tag, allow_empty=True)
observer = valid_account(observer, allow_empty=True)
posts = []
is_community = tag[:5] == 'hive-'
......
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