@omnia/velcron 7.5.22-dev → 7.5.23-dev

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/actions/Http.js +2 -1
  2. package/package.json +1 -1
package/actions/Http.js CHANGED
@@ -13,10 +13,11 @@ exports.httpGet = {
13
13
  requestInitLocal = hookResult?.requestInit ?? requestInitLocal;
14
14
  fetch(incomingUrl, requestInitLocal)
15
15
  .then(async (response) => {
16
- return parser_1.VelcronActions.tryTriggerAfterActionHook("http.get", {
16
+ const res = parser_1.VelcronActions.tryTriggerAfterActionHook("http.get", {
17
17
  json: await response.json(),
18
18
  response: response
19
19
  });
20
+ return res.json;
20
21
  })
21
22
  .then((json) => {
22
23
  resolve(json);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/velcron",
3
3
  "license": "MIT",
4
- "version": "7.5.22-dev",
4
+ "version": "7.5.23-dev",
5
5
  "description": "Provide Omnia Velcron Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"