Fix Badge component in web app.

This commit is contained in:
sfigato 2019-08-07 10:31:36 +02:00 committed by blallo
parent 21590435e7
commit 28ee2a7bf4
Signed by: blallo
GPG Key ID: 0CBE577C9B72DC3F

View File

@ -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({