Fix token type.

This commit is contained in:
John Livingston 2021-05-04 11:29:03 +02:00
parent 4a4ffaae2d
commit 34d8b7ded5

View File

@ -137,7 +137,7 @@ function launchTests (): void {
const response = await window.fetch(testUrl, { const response = await window.fetch(testUrl, {
method: 'POST', method: 'POST',
headers: new Headers({ headers: new Headers({
Authorization: 'Bearer ' + accessToken, Authorization: tokenType + ' ' + accessToken,
'content-type': 'application/json;charset=UTF-8' 'content-type': 'application/json;charset=UTF-8'
}), }),
body: JSON.stringify({ body: JSON.stringify({