totalum-api-sdk 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.ts +1 -1
  2. package/package.json +1 -1
package/index.ts CHANGED
@@ -112,7 +112,7 @@ export class TotalumApiSdk {
112
112
  this.authOptions = authOptions;
113
113
  if (this.authOptions.token?.accessToken){
114
114
  this.headers = {
115
- authorization: 'bearer ' + this.authOptions.token.accessToken
115
+ authorization: 'Bearer ' + this.authOptions.token.accessToken
116
116
  }
117
117
  } else if(this.authOptions.apiKey?.apiKey && this.authOptions.apiKey?.organizationId) {
118
118
  this.headers = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "totalum-api-sdk",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Totalum sdk wraper of totalum api",
5
5
  "main": "index.js",
6
6
  "scripts": {