Use Authorization-Bearer header for auth token (#1189)
This commit is contained in:
parent
ecdc5452a7
commit
cbda8e541d
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ export const tokenLink = setContext((_, context) => {
|
|||
...context,
|
||||
headers: {
|
||||
...context.headers,
|
||||
Authorization: authToken ? `JWT ${authToken}` : null
|
||||
"Authorization-Bearer": authToken || null
|
||||
}
|
||||
};
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue