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