Fix Badge component in web app.

master
blallo 2019-08-07 10:31:36 +02:00 committed by blallo
parent 21590435e7
commit 28ee2a7bf4
Signed by: blallo
GPG Key ID: 0CBE577C9B72DC3F
1 changed files with 2 additions and 1 deletions

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