Skip to content

Commit

Permalink
Fix error in username_available.json api docs, show the whole paramet…
Browse files Browse the repository at this point in the history
…er instead of the first letter
  • Loading branch information
joealcorn committed Feb 7, 2013
1 parent 3942701 commit 1a2b854
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion r2/r2/controllers/api.py
Expand Up @@ -161,7 +161,7 @@ def GET_me(self, responder):
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):
"""
Expand Down

0 comments on commit 1a2b854

Please sign in to comment.