@pronto-tools-and-more/api 12.35.1 → 12.37.0

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pronto-tools-and-more/api",
3
- "version": "12.35.1",
3
+ "version": "12.37.0",
4
4
  "description": "",
5
5
  "main": "src/main.js",
6
6
  "type": "module",
@@ -31,11 +31,16 @@ export const handleApiAppSettings = async ({ appId, apiUrl, req }) => {
31
31
  return rest;
32
32
  });
33
33
 
34
+ const object = Object.create(null);
35
+ for (const node of realData) {
36
+ object[node.key] = node.value;
37
+ }
38
+
34
39
  return {
35
40
  headers: {
36
41
  "content-type": "application/json",
37
42
  },
38
43
  status: 200,
39
- body: JSON.stringify(realData, null, 2),
44
+ body: JSON.stringify(object, null, 2),
40
45
  };
41
46
  };