zudello-integration-sdk 1.0.78 → 1.0.79
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/package.json
CHANGED
|
@@ -107,13 +107,13 @@ class UniversalModule {
|
|
|
107
107
|
let response = await this.list({ url, method, qs: qsCopy, body });
|
|
108
108
|
yield response;
|
|
109
109
|
|
|
110
|
-
let nextRef = this.extractRefFromLinkHeader(response?.headers?.link);
|
|
110
|
+
let nextRef = this.extractRefFromLinkHeader(response?.data?.headers?.link);
|
|
111
111
|
|
|
112
112
|
while (nextRef) {
|
|
113
113
|
qsCopy.ref = nextRef;
|
|
114
114
|
response = await this.list({ url, method, qs: qsCopy, body });
|
|
115
115
|
yield response;
|
|
116
|
-
nextRef = this.extractRefFromLinkHeader(response?.headers?.link);
|
|
116
|
+
nextRef = this.extractRefFromLinkHeader(response?.data?.headers?.link);
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
}
|