From d600686dd40d9e1cbf2f2810705a29382855eac6 Mon Sep 17 00:00:00 2001 From: Victor Westerlund Date: Thu, 9 Nov 2023 10:49:35 +0100 Subject: [PATCH] wip: 2023-11-07T14:37:18+0100 (1699364238) --- package.json | 2 +- src/Reflect.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index abb91d9..87bd638 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "reflect-client", - "version": "1.1.0-beta.2", + "version": "1.1.0", "main": "build/Reflect.js", "type": "module", "exports": { diff --git a/src/Reflect.ts b/src/Reflect.ts index 9677cde..f424c76 100644 --- a/src/Reflect.ts +++ b/src/Reflect.ts @@ -19,7 +19,7 @@ export default class Client { // Set API key to use for all requests private setApiKey(key: string): void { - this.headers["Authentication"] = `Bearer ${key}`; + this.headers["Authorization"] = `Bearer ${key}`; } // Get fully qualified URL to endpoint