@aloma.io/integration-sdk 3.0.13 → 3.0.14
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/build/internal/index.mjs +1 -2
- package/package.json +1 -1
package/build/internal/index.mjs
CHANGED
@@ -74,7 +74,7 @@ class Fetcher {
|
|
74
74
|
}
|
75
75
|
catch (e) {
|
76
76
|
--retries;
|
77
|
-
console.log(theURL, e
|
77
|
+
console.log(theURL, e);
|
78
78
|
if (retries <= 0)
|
79
79
|
throw e;
|
80
80
|
return local.onError(e, url, options, retries, args);
|
@@ -123,7 +123,6 @@ class OAuthFetcher extends Fetcher {
|
|
123
123
|
async customize(options, args = {}) {
|
124
124
|
const local = this;
|
125
125
|
const token = await local.getToken(args.forceTokenRefresh);
|
126
|
-
options = { ...options };
|
127
126
|
options.headers = {
|
128
127
|
...options.headers,
|
129
128
|
Authorization: `Bearer ${token}`,
|