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

Sign up to get free protection for your applications and to get access to all the features.
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.36.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
  };