mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-28 08:17:58 -05:00
Add documentation and OAuth scope to GET_stylesheet.
This commit is contained in:
@@ -385,7 +385,10 @@ class FrontController(RedditController, OAuth2ResourceController):
|
||||
).render()
|
||||
return res
|
||||
|
||||
@require_oauth2_scope("modconfig")
|
||||
@api_doc(api_section.moderation)
|
||||
def GET_stylesheet(self):
|
||||
"""Fetches a subreddit's current stylesheet."""
|
||||
if g.css_killswitch:
|
||||
self.abort404()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user