diff --git a/lib/services/leantime-service.ts b/lib/services/leantime-service.ts index a263c093..a9a5ab4d 100644 --- a/lib/services/leantime-service.ts +++ b/lib/services/leantime-service.ts @@ -45,7 +45,7 @@ export class LeantimeService { { headers: { 'Content-Type': 'application/json', - 'Authorization': `Bearer ${this.apiToken}` + 'X-API-Key': this.apiToken } } ); @@ -101,7 +101,7 @@ export class LeantimeService { { headers: { 'Content-Type': 'multipart/form-data', - 'Authorization': `Bearer ${this.apiToken}` + 'X-API-Key': this.apiToken } } ); @@ -167,7 +167,7 @@ export class LeantimeService { { headers: { 'Content-Type': 'application/json', - 'Authorization': `Bearer ${this.apiToken}` + 'X-API-Key': this.apiToken } } ); @@ -200,7 +200,7 @@ export class LeantimeService { { headers: { 'Content-Type': 'application/json', - 'Authorization': `Bearer ${this.apiToken}` + 'X-API-Key': this.apiToken } } ); @@ -238,7 +238,7 @@ export class LeantimeService { { headers: { 'Content-Type': 'application/json', - 'Authorization': `Bearer ${this.apiToken}` + 'X-API-Key': this.apiToken } } ); @@ -277,7 +277,7 @@ export class LeantimeService { { headers: { 'Content-Type': 'application/json', - 'Authorization': `Bearer ${this.apiToken}` + 'X-API-Key': this.apiToken } } );