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