summary refs log tree commit diff
path: root/synapse/http/servlet.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-07-17 10:04:33 +0100
committerErik Johnston <erik@matrix.org>2018-07-17 10:04:33 +0100
commitf793ff45714293bc2b654eeb47987054af034f29 (patch)
tree8a08fb4a6cb596c9ff4bf030abf5752bb9a209ad /synapse/http/servlet.py
parentMerge branch 'develop' into matrix-org-hotfixes (diff)
parentMerge pull request #3530 from matrix-org/erikj/stream_cache (diff)
downloadsynapse-f793ff45714293bc2b654eeb47987054af034f29.tar.xz
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
Diffstat (limited to 'synapse/http/servlet.py')
-rw-r--r--synapse/http/servlet.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/http/servlet.py b/synapse/http/servlet.py

index cf6723563a..882816dc8f 100644 --- a/synapse/http/servlet.py +++ b/synapse/http/servlet.py
@@ -206,7 +206,7 @@ def parse_json_object_from_request(request, allow_empty_body=False): return content -def assert_params_in_request(body, required): +def assert_params_in_dict(body, required): absent = [] for k in required: if k not in body: