fix: enable external auth by using a different header (#87)

License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
This commit is contained in:
Henrique Dias 2019-01-29 09:05:45 +00:00 committed by GitHub
parent 89d4d828b9
commit e370fbe500
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -10,7 +10,7 @@ export async function fetchURL (url, opts) {
const res = await fetch(`${baseURL}${url}`, {
headers: {
'Authorization': `Bearer ${store.state.jwt}`,
'X-Auth': store.state.jwt,
...headers
},
...rest