Skip to content

Commit

Permalink
Merge pull request #66 from maximebiloe/docs-update
Browse files Browse the repository at this point in the history
Fix mergeHeaders name in documentation
  • Loading branch information
Shudrum authored Mar 9, 2020
2 parents 0c83b1c + ddff15c commit 74ffbb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/collections/_workers/merge-headers.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ title: Workers - MergeHeaders

> Merge data into the container's headers.
## mergeBody(headers)
## mergeHeaders(headers)

Merge an object into the container's headers.

Expand All @@ -31,7 +31,7 @@ You can add values with the `mergeHeaders` worker like that:

```js
const workflow = [
mergeBody({ 'gateway-id': '007' }),
mergeHeaders({ 'gateway-id': '007' }),
];
```

Expand Down

0 comments on commit 74ffbb8

Please sign in to comment.