review feedback tweaks

This commit is contained in:
Patrik Oldsberg
2021-02-10 17:23:28 +01:00
parent 8d2089a432
commit 6cd39362e7
5 changed files with 6 additions and 12 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ export class RollbarClient implements RollbarApi {
const url = `${await this.discoveryApi.getBaseUrl('rollbar')}${path}`;
const idToken = await this.identityApi.getIdToken();
const response = await fetch(url, {
headers: idToken ? { authorization: `Bearer ${idToken}` } : {},
headers: idToken ? { Authorization: `Bearer ${idToken}` } : {},
});
if (!response.ok) {