@malevich-studio/strapi-sdk-typescript 1.2.24 → 1.2.26

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.mjs CHANGED
@@ -21436,7 +21436,7 @@ class Strapi {
21436
21436
  const response = await fetch(`${this.url}/api/${endpoint}`, mergedParams);
21437
21437
  let data = null;
21438
21438
  try {
21439
- data = await response?.json() || null;
21439
+ data = await response?.clone().json() || null;
21440
21440
  }
21441
21441
  catch (error) {
21442
21442
  console.error(await response.text());