We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90d1958 commit 2c25e19Copy full SHA for 2c25e19
src/components/back4App/Header/Header.react.js
@@ -17,9 +17,12 @@ export default class Header extends React.Component {
17
But it was actualy not possible to use the subscribeTo decorator in the Header component
18
before the App was injected in the router. This is a simple temporary solution.
19
*/
20
- fetch('https://dashboard.back4app.com/me')
+ fetch('https://dashboard.back4app.com/me', {
21
+ method: 'GET',
22
+ credentials: 'include'
23
+ })
24
.then(response => {
- console.log(response.toJson());
25
+ console.log(response.json());
26
});
27
}
28
render() {
0 commit comments