diff options
author | Richard van der Hoff <richard@matrix.org> | 2018-05-17 12:09:18 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2018-05-22 11:54:51 +0100 |
commit | d14d7b8fdc67f8f784c69605f95fe136e032b5d4 (patch) | |
tree | 57c0e1afb12d2635b5bc6bf38e833a8bdf1592bf /synapse/rest/consent | |
parent | Merge pull request #3255 from matrix-org/rav/fix_transactions (diff) | |
download | synapse-d14d7b8fdc67f8f784c69605f95fe136e032b5d4.tar.xz |
Rename 'version' param on user consent config
we're going to use it for the version we require too.
Diffstat (limited to 'synapse/rest/consent')
-rw-r--r-- | synapse/rest/consent/consent_resource.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/consent/consent_resource.py b/synapse/rest/consent/consent_resource.py index d791302278..b0536ee375 100644 --- a/synapse/rest/consent/consent_resource.py +++ b/synapse/rest/consent/consent_resource.py @@ -116,7 +116,7 @@ class ConsentResource(Resource): loader = jinja2.FileSystemLoader(consent_template_directory) self._jinja_env = jinja2.Environment(loader=loader) - self._default_consent_verison = consent_config["default_version"] + self._default_consent_verison = consent_config["version"] if hs.config.form_secret is None: raise ConfigError( |