diff options
author | Kegan Dougal <kegan@matrix.org> | 2015-01-28 16:45:18 +0000 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2015-01-28 16:45:18 +0000 |
commit | c23e3db544eb940d95a092b661e3872480f3bf30 (patch) | |
tree | ddb9952d637e87ad9e6ce357c113d9fc0b9a2654 /synapse/rest/client | |
parent | Created schema delta (diff) | |
download | synapse-c23e3db544eb940d95a092b661e3872480f3bf30.tar.xz |
Add filter JSON sanity checks.
Diffstat (limited to 'synapse/rest/client')
-rw-r--r-- | synapse/rest/client/v2_alpha/filter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v2_alpha/filter.py b/synapse/rest/client/v2_alpha/filter.py index 09e44e8ae0..81a3e95155 100644 --- a/synapse/rest/client/v2_alpha/filter.py +++ b/synapse/rest/client/v2_alpha/filter.py @@ -93,7 +93,7 @@ class CreateFilterRestServlet(RestServlet): filter_id = yield self.filtering.add_user_filter( user_localpart=target_user.localpart, - definition=content, + user_filter=content, ) defer.returnValue((200, {"filter_id": str(filter_id)})) |