@shopware-ag/acceptance-test-suite 11.4.1 → 11.4.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.
Files changed (2) hide show
  1. package/dist/index.mjs +2 -1
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -502,7 +502,8 @@ const _AdminApiContext = class _AdminApiContext {
502
502
  let response = await methodMap[method](url, options);
503
503
  if (response.status() === 401) {
504
504
  await this.refreshAccessToken();
505
- response = await methodMap[method](url, options);
505
+ const updatedOptions = { ...options, headers: { Authorization: `Bearer ${this.options["access_token"]}` } };
506
+ response = await methodMap[method](url, updatedOptions);
506
507
  }
507
508
  return response;
508
509
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopware-ag/acceptance-test-suite",
3
- "version": "11.4.1",
3
+ "version": "11.4.2",
4
4
  "description": "Shopware Acceptance Test Suite",
5
5
  "author": "shopware AG",
6
6
  "license": "MIT",