diff --git a/client/views/grade/EditPanel.jsx b/client/views/grade/EditPanel.jsx index 1bbee8fdc7c116555b093d466d20d5003c77494c..87d735d0c78f81653e7437d5c3f12bd69b9cb1ba 100644 --- a/client/views/grade/EditPanel.jsx +++ b/client/views/grade/EditPanel.jsx @@ -75,7 +75,7 @@ class EditPanel extends React.Component { if (this.props.feedback) { } else { - api.post('feedback/' + this.props.problem, { + api.post('feedback/' + this.props.problem.id, { name: this.state.name, description: this.state.description, score: this.state.score ? parseInt(this.state.score) : null