@maptiler/client 3.2.0-rc.1 → 3.2.0-rc.2

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.
@@ -1383,7 +1383,7 @@ function decodeRoute(route) {
1383
1383
  async function getErrorMessage(res) {
1384
1384
  let payload = null;
1385
1385
  try {
1386
- payload = await res.json();
1386
+ payload = await res.clone().json();
1387
1387
  } catch {
1388
1388
  return "";
1389
1389
  }