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 3fb2786 commit 7324584Copy full SHA for 7324584
packages/dashboard/src/lib/graphql/api.ts
@@ -60,7 +60,7 @@ const awesomeClient = new AwesomeGraphQLClient({
60
credentials: 'include',
61
mode: 'cors',
62
}).then(res => {
63
- const authToken = res.headers.get('vendure-auth-token');
+ const authToken = res.headers.get(uiConfig.api.authTokenHeaderKey);
64
if (authToken) {
65
localStorage.setItem(LS_KEY_SESSION_TOKEN, authToken);
66
}
0 commit comments