Fix Badge component in web app.
parent
21590435e7
commit
28ee2a7bf4
|
@ -49,7 +49,8 @@ class BadgePage extends React.Component {
|
||||||
path = '/checkin';
|
path = '/checkin';
|
||||||
}
|
}
|
||||||
fetch(this.props.targetUrl + path, {
|
fetch(this.props.targetUrl + path, {
|
||||||
method: 'POST'
|
method: 'POST',
|
||||||
|
credentials: 'include'
|
||||||
})
|
})
|
||||||
.then(response => response.json())
|
.then(response => response.json())
|
||||||
.then(data => this.setState({
|
.then(data => this.setState({
|
||||||
|
|
Loading…
Reference in New Issue