@opexa/portal-sdk 0.40.5 → 0.41.0
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.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3202,7 +3202,7 @@ var AuthService = class {
|
|
|
3202
3202
|
const headers = new Headers(this.headers);
|
|
3203
3203
|
headers.append("Authorization", `Bearer ${accessToken}`);
|
|
3204
3204
|
try {
|
|
3205
|
-
const res = await fetch(`${this.url}/token`, {
|
|
3205
|
+
const res = await fetch(`${this.url}/token?ttl=30d`, {
|
|
3206
3206
|
method: "POST",
|
|
3207
3207
|
headers
|
|
3208
3208
|
});
|