diff --git a/client/coral-plugin-flags/FlagButton.js b/client/coral-plugin-flags/FlagButton.js index 1069ffca1..537d899cd 100644 --- a/client/coral-plugin-flags/FlagButton.js +++ b/client/coral-plugin-flags/FlagButton.js @@ -69,7 +69,7 @@ class FlagButton extends Component { let action = { item_id, item_type: itemType, - reason, + reason: null, message }; if (reason === 'I don\'t agree with this comment') { @@ -80,7 +80,7 @@ class FlagButton extends Component { } }); } else { - postFlag(action) + postFlag({...action, reason}) .then(({data}) => { if (itemType === 'COMMENTS') { this.setState({localPost: data.createFlag.flag.id});