Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix error in username_available.json api docs, show the whole parameter instead of the first letter #677

Closed
wants to merge 1 commit into from

2 participants

@joealcorn

No description provided.

@Deimos
Owner

Thanks. :fish:

@Deimos
Owner

Merged 6b0a9db

@Deimos Deimos closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 7, 2013
  1. @joealcorn

    Fix error in username_available.json api docs, show the whole paramet…

    joealcorn authored
    …er instead of the first letter
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  r2/r2/controllers/api.py
View
2  r2/r2/controllers/api.py
@@ -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):
"""
Something went wrong with that request. Please try again.