From 91f6e8e71648eff7e4afbcba66017f05cee0df6a Mon Sep 17 00:00:00 2001 From: igoradamenko Date: Fri, 18 May 2018 19:38:34 +0300 Subject: [PATCH] add `id` to params for api call --- web/app/components/input/input.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/components/input/input.jsx b/web/app/components/input/input.jsx index 59190342..fac558c7 100644 --- a/web/app/components/input/input.jsx +++ b/web/app/components/input/input.jsx @@ -84,7 +84,7 @@ export default class Input extends Component { this.setState({ isFieldDisabled: true, isErrorShown: false }); if (mods.mode === 'edit') { - api.edit({ text }) + api.edit({ text, id }) .then(() => { if (this.props.onSubmit) { this.props.onSubmit({ id });