@plone/volto 17.22.1 → 17.22.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.
Binary file
package/CHANGELOG.md CHANGED
@@ -17,6 +17,12 @@ myst:
17
17
 
18
18
  <!-- towncrier release notes start -->
19
19
 
20
+ ## 17.22.2 (2025-09-29)
21
+
22
+ ### Bugfix
23
+
24
+ - Added guard in API REDUX middleware. @sneridagh [#7412](https://github.com/plone/volto/issues/7412)
25
+
20
26
  ## 17.22.1 (2025-08-25)
21
27
 
22
28
  ### Bugfix
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  }
10
10
  ],
11
11
  "license": "MIT",
12
- "version": "17.22.1",
12
+ "version": "17.22.2",
13
13
  "repository": {
14
14
  "type": "git",
15
15
  "url": "git@github.com:plone/volto.git"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plone/volto-slate",
3
- "version": "17.22.1",
3
+ "version": "17.22.2",
4
4
  "description": "Slate.js integration with Volto",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -346,7 +346,7 @@ const apiMiddlewareFactory =
346
346
  ...rest,
347
347
  error,
348
348
  statusCode: error.response,
349
- message: error.response.body.message,
349
+ message: error.response?.body?.message,
350
350
  connectionRefused: false,
351
351
  type: SET_APIERROR,
352
352
  });