From 2fba1f7405b2d6045d0a2708311fa794b31480ed Mon Sep 17 00:00:00 2001 From: guhur <12297742+guhur@users.noreply.github.com> Date: Tue, 9 Feb 2021 17:13:14 +0100 Subject: [PATCH] add an s to restrict_result --- src/components/views/CreateElection.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/views/CreateElection.jsx b/src/components/views/CreateElection.jsx index b4940dc..538b81d 100644 --- a/src/components/views/CreateElection.jsx +++ b/src/components/views/CreateElection.jsx @@ -344,7 +344,7 @@ class CreateElection extends Component { finish_at: finish.getTime() / 1000, select_language: locale, front_url: window.location.origin, - restrict_result: this.state.restrictResult + restrict_results: this.state.restrictResult }) }) .then(response => response.json()) @@ -893,4 +893,4 @@ class CreateElection extends Component { } } -export default withTranslation()(withRouter(CreateElection)); \ No newline at end of file +export default withTranslation()(withRouter(CreateElection));