We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e838941 commit 7dd4304Copy full SHA for 7dd4304
1 file changed
app/src/GroupEdit.js
@@ -57,7 +57,7 @@ class GroupEdit extends Component {
57
await fetch('/api/group', {
58
method: (item.id) ? 'PUT' : 'POST',
59
headers: {
60
- 'X-XSRF-TOKEN': csrfToken,
+ 'X-XSRF-TOKEN': this.state.csrfToken,
61
'Accept': 'application/json',
62
'Content-Type': 'application/json'
63
},
@@ -118,4 +118,4 @@ class GroupEdit extends Component {
118
}
119
120
121
-export default withCookies(withRouter(GroupEdit));
+export default withCookies(withRouter(GroupEdit));
0 commit comments