Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct API v1 path check in get_args #205

Merged
merged 1 commit into from Aug 27, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion sydent/http/servlets/__init__.py
Expand Up @@ -47,7 +47,7 @@ def get_args(request, required_args):
the request is malformed. Otherwise, args contains the
parameters passed.
"""
v1_path = request.path.startswith('/_matrix/identity/v1')
v1_path = request.path.startswith('/_matrix/identity/api/v1')

args = None
# for v1 paths, only look for json args if content type is json
Expand Down