mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-24 06:18:08 -05:00
Allow anyone to fetch a subreddit's flair.
This commit is contained in:
committed by
Neil Williams
parent
3457860b95
commit
fe13fd2114
@@ -2374,8 +2374,7 @@ class ApiController(RedditController):
|
||||
jquery.refresh()
|
||||
|
||||
@paginated_listing(max_page_size=1000)
|
||||
@validate(VFlairManager(),
|
||||
user = VFlairAccount('name'))
|
||||
@validate(user = VFlairAccount('name'))
|
||||
@api_doc(api_section.flair)
|
||||
def GET_flairlist(self, num, after, reverse, count, user):
|
||||
flair = FlairList(num, after, reverse, '', user)
|
||||
|
||||
Reference in New Issue
Block a user