@adobe/helix-html-pipeline 1.5.7 → 1.5.8

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [1.5.8](https://github.com/adobe/helix-html-pipeline/compare/v1.5.7...v1.5.8) (2022-05-19)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * forms service expect repo and owner in message body ([a14e6a0](https://github.com/adobe/helix-html-pipeline/commit/a14e6a0800704a49173ae62ca95dfcbc2cdd3638))
7
+
1
8
  ## [1.5.7](https://github.com/adobe/helix-html-pipeline/compare/v1.5.6...v1.5.7) (2022-05-17)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-html-pipeline",
3
- "version": "1.5.7",
3
+ "version": "1.5.8",
4
4
  "description": "Helix HTML Pipeline",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",
package/src/forms-pipe.js CHANGED
@@ -140,10 +140,12 @@ export async function formsPipe(state, request) {
140
140
  // sheet and the source location is not null
141
141
  const host = getOriginalHost(request.headers);
142
142
 
143
+ // Forms service expect owner and repo in the message body
144
+ body.owner = owner;
145
+ body.repo = repo;
146
+
143
147
  const message = {
144
148
  url: `https://${ref}--${repo}--${owner}.hlx.live${resourcePath}`,
145
- owner,
146
- repo,
147
149
  body,
148
150
  host,
149
151
  sourceLocation,