From 1884c2f43025cece8da13d937aeb3985c2a7c6fb Mon Sep 17 00:00:00 2001 From: Julien Martin Date: Sun, 13 Oct 2019 20:44:31 +0200 Subject: [PATCH 1/2] Add remove worker on the index --- workers/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/workers/index.js b/workers/index.js index 35b8aac..c816502 100644 --- a/workers/index.js +++ b/workers/index.js @@ -11,6 +11,7 @@ const forwardedHost = require('./forwardedHost'); const mergeBody = require('./mergeBody'); const project = require('./project'); const mergeHeaders = require('./mergeHeaders'); +const remove = require('./remove'); const routeMatch = require('./routeMatch'); const statusCode = require('./statusCode'); const waitFor = require('./waitFor'); @@ -22,6 +23,7 @@ module.exports = { mergeBody, project, mergeHeaders, + remove, routeMatch, statusCode, waitFor, From cb78c7c5f3afa9df064e9253227fe57b016cfa45 Mon Sep 17 00:00:00 2001 From: Julien Martin Date: Sun, 13 Oct 2019 20:46:05 +0200 Subject: [PATCH 2/2] Fix remove worker documentation --- docs/collections/_workers/remove.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/collections/_workers/remove.md b/docs/collections/_workers/remove.md index e534639..34af0e7 100644 --- a/docs/collections/_workers/remove.md +++ b/docs/collections/_workers/remove.md @@ -3,7 +3,7 @@ layout: content title: Workers - Remove --- -# filter(paths) +# remove(paths) Remove the properties listed on the `paths` argument array from the container's body