mirror of
https://codeberg.org/reflect/reflect-client-js.git
synced 2025-09-14 08:33:42 +02:00
wip: 2023-11-07T14:37:18+0100 (1699364238)
This commit is contained in:
parent
5ad355741d
commit
d600686dd4
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "reflect-client",
|
||||
"version": "1.1.0-beta.2",
|
||||
"version": "1.1.0",
|
||||
"main": "build/Reflect.js",
|
||||
"type": "module",
|
||||
"exports": {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue