mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-29 00:38:11 -05:00
Fix error in username_available.json api docs, show the whole parameter instead of the first letter
This commit is contained in:
@@ -162,7 +162,7 @@ class ApiController(RedditController, OAuth2ResourceController):
|
||||
else:
|
||||
return {}
|
||||
|
||||
@json_validate(user=VUname("user"))
|
||||
@json_validate(user=VUname(("user",)))
|
||||
@api_doc(api_section.users, extensions=["json"])
|
||||
def GET_username_available(self, responder, user):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user