Skip to content
Snippets Groups Projects
Commit 428e4f85 authored by Thomas Roos's avatar Thomas Roos
Browse files

Fix adding feedback option

parent 27f09cbd
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment